mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
[Upgrade to 2.0] Expand User directory (#704)
This commit is contained in:
parent
0dc3f1fb6e
commit
c863659916
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ older versions of jrnl anymore.
|
|||
encrypt = config.get('encrypt')
|
||||
path = journal_conf
|
||||
|
||||
path = os.path.expanduser(path)
|
||||
|
||||
if encrypt:
|
||||
encrypted_journals[journal_name] = path
|
||||
elif os.path.isdir(path):
|
||||
|
|
Loading…
Add table
Reference in a new issue