fix linting issue

This commit is contained in:
Jonathan Wren 2022-09-24 08:47:21 -07:00
parent 49948c49f7
commit 454be3326e

View file

@ -35,9 +35,9 @@ def create_password(journal_name: str) -> str:
print_msg(Message(MsgText.PasswordDidNotMatch, MsgStyle.ERROR))
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