From 6aa522cb2cfbaf57ad24ca84b24ae10c8de39ddd Mon Sep 17 00:00:00 2001 From: = Date: Fri, 29 May 2020 15:33:47 -0400 Subject: [PATCH] create jrnl with abspath --- jrnl/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/install.py b/jrnl/install.py index 58c8cf01..2b86770c 100644 --- a/jrnl/install.py +++ b/jrnl/install.py @@ -135,7 +135,7 @@ def install(): # Where to create the journal? path_query = f"Path to your journal file (leave blank for {JOURNAL_FILE_PATH}): " - journal_path = input(path_query).strip() or JOURNAL_FILE_PATH + journal_path = os.path.abspath(input(path_query).strip()) or JOURNAL_FILE_PATH default_config["journals"][DEFAULT_JOURNAL_KEY] = os.path.expanduser( os.path.expandvars(journal_path) )