fix TB on gajim startup. fixes #3533
This commit is contained in:
parent
bf6e25576e
commit
7c0e70acde
|
@ -42,7 +42,8 @@ class SimplePasswordStorage(PasswordStorage):
|
|||
|
||||
def save_password(self, account_name, password):
|
||||
gajim.config.set_per('accounts', account_name, 'password', password)
|
||||
gajim.connections[account_name].password = password
|
||||
if account_name in gajim.connections:
|
||||
gajim.connections[account_name].password = password
|
||||
|
||||
|
||||
class GnomePasswordStorage(PasswordStorage):
|
||||
|
|
Loading…
Reference in New Issue