fix traceback when not using gnome keyring. fixes #3319
This commit is contained in:
parent
5040656f3e
commit
85e040e574
|
@ -86,6 +86,7 @@ class GnomePasswordStorage(PasswordStorage):
|
||||||
display_name, attributes, password, update)
|
display_name, attributes, password, update)
|
||||||
token = 'gnomekeyring:%i' % auth_token
|
token = 'gnomekeyring:%i' % auth_token
|
||||||
gajim.config.set_per('accounts', account_name, 'password', token)
|
gajim.config.set_per('accounts', account_name, 'password', token)
|
||||||
|
if gajim.connections.has_key(account_name):
|
||||||
gajim.connections[account_name].password = password
|
gajim.connections[account_name].password = password
|
||||||
|
|
||||||
storage = None
|
storage = None
|
||||||
|
|
Loading…
Reference in New Issue