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