Fixes #5447
This commit is contained in:
parent
d66dd14950
commit
c5843e8878
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue