mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 18:57:52 -06:00
Catch the KeyringLocked also when setting the token in the keyring
CURA-8332
This commit is contained in:
parent
8ade68dbef
commit
ceca0c417a
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class KeyringAttribute:
|
|||
if value is not None:
|
||||
try:
|
||||
keyring.set_password("cura", self._keyring_name, value)
|
||||
except PasswordSetError:
|
||||
except (PasswordSetError, KeyringLocked):
|
||||
self._store_secure = False
|
||||
if self._name not in DONT_EVER_STORE_LOCALLY:
|
||||
setattr(instance, self._name, value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue