mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Fix for unhandled exception
This commit is contained in:
parent
fc6d8156cd
commit
a5d993a9bb
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ def set_keychain(journal_name, password):
|
|||
if password is None:
|
||||
try:
|
||||
keyring.delete_password("jrnl", journal_name)
|
||||
except RuntimeError:
|
||||
except keyring.errors.PasswordDeleteError:
|
||||
pass
|
||||
else:
|
||||
keyring.set_password("jrnl", journal_name, password)
|
||||
|
|
Loading…
Add table
Reference in a new issue