run black to get codebase into good base state

This commit is contained in:
Jonathan Wren 2020-01-04 12:12:00 -08:00
parent e2ce40424e
commit 06970f3911
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A

View file

@ -61,9 +61,8 @@ def open_journal(journal_name="default"):
config = util.load_config(install.CONFIG_FILE_PATH) config = util.load_config(install.CONFIG_FILE_PATH)
journal_conf = config["journals"][journal_name] journal_conf = config["journals"][journal_name]
if type(journal_conf) is dict: 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) config.update(journal_conf)
else: else:
# But also just give them a string to point to the journal file # But also just give them a string to point to the journal file