mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-13 18:08:30 +02:00
fix linting issue
This commit is contained in:
parent
49948c49f7
commit
454be3326e
1 changed files with 2 additions and 2 deletions
|
@ -35,9 +35,9 @@ def create_password(journal_name: str) -> str:
|
||||||
print_msg(Message(MsgText.PasswordDidNotMatch, MsgStyle.ERROR))
|
print_msg(Message(MsgText.PasswordDidNotMatch, MsgStyle.ERROR))
|
||||||
|
|
||||||
if yesno(Message(MsgText.PasswordStoreInKeychain), default=True):
|
if yesno(Message(MsgText.PasswordStoreInKeychain), default=True):
|
||||||
from jrnl.EncryptedJournal import set_keychain
|
from jrnl.keyring import set_keyring_password
|
||||||
|
|
||||||
set_keychain(journal_name, pw)
|
set_keyring_password(journal_name, pw)
|
||||||
|
|
||||||
return pw
|
return pw
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue