This commit is contained in:
Alexander Cherniuk 2009-11-25 09:10:30 +02:00
parent d66dd14950
commit c5843e8878
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,8 @@ class GnomePasswordStorage(PasswordStorage):
user = gajim.config.get_per('accounts', account_name, 'name') user = gajim.config.get_per('accounts', account_name, 'name')
display_name = _('XMPP account %s@%s') % (user, server) display_name = _('XMPP account %s@%s') % (user, server)
attributes1 = dict(server=str(server), user=str(user), protocol='xmpp') attributes1 = dict(server=str(server), user=str(user), protocol='xmpp')
if password is None:
password = str()
try: try:
auth_token = gnomekeyring.item_create_sync( auth_token = gnomekeyring.item_create_sync(
self.keyring, gnomekeyring.ITEM_NETWORK_PASSWORD, self.keyring, gnomekeyring.ITEM_NETWORK_PASSWORD,