Skip to content

Commit

Permalink
[Upgrade to 2.0] Expand User directory (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
MinchinWeb committed Apr 10, 2020
1 parent 0dc3f1f commit c863659
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jrnl/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ def upgrade_jrnl_if_necessary(config_path):
encrypt = config.get('encrypt')
path = journal_conf

path = os.path.expanduser(path)

if encrypt:
encrypted_journals[journal_name] = path
elif os.path.isdir(path):
Expand Down

0 comments on commit c863659

Please sign in to comment.