Skip to content
Snippets Groups Projects
Commit c8f8a8b6 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

correctly detect when GnomeKeyring is not installed

parent d5ee84a3
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,7 @@ def get_storage():
gir = __import__('gi.repository', globals(), locals(),
['GnomeKeyring'], 0)
GnomeKeyring = gir.GnomeKeyring
except ImportError:
except (ImportError, AttributeError):
pass
else:
global USER_HAS_GNOMEKEYRING
......
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