mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 04:58:32 +02:00
Capture KeyringLocked exception and allow manual password entry
This commit is contained in:
parent
31ada29a37
commit
29c7023604
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ def get_keychain(journal_name):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
return keyring.get_password("jrnl", journal_name)
|
return keyring.get_password("jrnl", journal_name)
|
||||||
except RuntimeError:
|
except (keyring.errors.KeyringLocked, RuntimeError):
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue