empty password is saved as '', not None (gnomeKeyring crashes when we set None). fixes #2748
This commit is contained in:
parent
90cda75734
commit
c6e5bbf222
|
@ -1527,7 +1527,7 @@ class AccountModificationWindow:
|
||||||
if config['savepass']:
|
if config['savepass']:
|
||||||
passwords.save_password(name, config['password'])
|
passwords.save_password(name, config['password'])
|
||||||
else:
|
else:
|
||||||
passwords.save_password(name, None)
|
passwords.save_password(name, '')
|
||||||
# refresh accounts window
|
# refresh accounts window
|
||||||
if gajim.interface.instances.has_key('accounts'):
|
if gajim.interface.instances.has_key('accounts'):
|
||||||
gajim.interface.instances['accounts'].init_accounts()
|
gajim.interface.instances['accounts'].init_accounts()
|
||||||
|
|
Loading…
Reference in New Issue