Skip to content
Snippets Groups Projects
Commit 4797fcce authored by nkour's avatar nkour
Browse files

do not fail if password is None and we use GnomeKeyring

parent 16d062c9
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,8 @@ class GnomePasswordStorage(object):
def get_password(self, account_name):
conf = gajim.config.get_per('accounts', account_name, 'password')
if conf is None:
return None
try:
unused, auth_token = conf.split('gnomekeyring:')
auth_token = int(auth_token)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment