From 0a19701ae9dd69b72da66688708208a21a25685b Mon Sep 17 00:00:00 2001 From: Manuel Ebert Date: Fri, 12 Sep 2014 15:27:48 -0700 Subject: [PATCH] Use 'version' in configs --- jrnl/install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jrnl/install.py b/jrnl/install.py index 4d20a6bc..9e7bf9df 100644 --- a/jrnl/install.py +++ b/jrnl/install.py @@ -36,7 +36,7 @@ def module_exists(module_name): return True default_config = { - 'jrnl_version': __version__, + 'version': __version__, 'journals': { "default": JOURNAL_FILE_PATH }, @@ -78,7 +78,7 @@ def load_or_install_jrnl(): if os.path.exists(config_path): config = util.load_config(CONFIG_FILE_PATH) upgrade_config(config) - upgrade.upgrade_jrnl_if_necessary() + upgrade.upgrade_jrnl_if_necessary(CONFIG_FILE_PATH) return config else: install()