[misc] handle gnome-heyring DeniedError. Fix #3300.
This commit is contained in:
parent
21269c175a
commit
ecc54114f7
|
@ -111,6 +111,8 @@ def get_storage():
|
|||
storage = GnomePasswordStorage()
|
||||
except gnomekeyring.NoKeyringDaemonError:
|
||||
storage = SimplePasswordStorage()
|
||||
except gnomekeyring.DeniedError:
|
||||
storage = SimplePasswordStorage()
|
||||
else:
|
||||
storage = SimplePasswordStorage()
|
||||
return storage
|
||||
|
|
Loading…
Reference in New Issue