mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
create jrnl with abspath
This commit is contained in:
parent
30c4528149
commit
6aa522cb2c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue