empty password is saved as '', not None (gnomeKeyring crashes when we set None). fixes #2748

This commit is contained in:
Yann Leboulanger 2006-12-08 19:26:22 +00:00
parent 90cda75734
commit c6e5bbf222
1 changed files with 1 additions and 1 deletions

View File

@ -1527,7 +1527,7 @@ class AccountModificationWindow:
if config['savepass']:
passwords.save_password(name, config['password'])
else:
passwords.save_password(name, None)
passwords.save_password(name, '')
# refresh accounts window
if gajim.interface.instances.has_key('accounts'):
gajim.interface.instances['accounts'].init_accounts()