Don't clean dict twice, Fixes #5419

This commit is contained in:
Yann Leboulanger 2009-11-24 19:41:29 +01:00
parent bcef68c8e2
commit 5ce4d52dc3
1 changed files with 1 additions and 1 deletions

View File

@ -1945,10 +1945,10 @@ class Interface:
# ('INSECURE_SSL_CONNECTION', account, (connection, connection_type))
server = gajim.config.get_per('accounts', account, 'hostname')
def on_ok(is_checked):
del self.instances[account]['online_dialog']['insecure_ssl']
if not is_checked[0]:
on_cancel()
return
del self.instances[account]['online_dialog']['insecure_ssl']
if is_checked[1]:
gajim.config.set_per('accounts', account,
'warn_when_insecure_ssl_connection', False)