mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
run black to get codebase into good base state
This commit is contained in:
parent
e2ce40424e
commit
06970f3911
1 changed files with 1 additions and 2 deletions
|
@ -61,9 +61,8 @@ def open_journal(journal_name="default"):
|
|||
config = util.load_config(install.CONFIG_FILE_PATH)
|
||||
journal_conf = config["journals"][journal_name]
|
||||
|
||||
|
||||
if type(journal_conf) is dict:
|
||||
# We can override the default config on a by-journal basis
|
||||
# We can override the default config on a by-journal basis
|
||||
config.update(journal_conf)
|
||||
else:
|
||||
# But also just give them a string to point to the journal file
|
||||
|
|
Loading…
Add table
Reference in a new issue