From c7a24b49b3c4e704c48ce2a9ceeb95ab487d7038 Mon Sep 17 00:00:00 2001 From: echel0n Date: Tue, 15 Apr 2014 16:38:37 -0700 Subject: [PATCH] Moved vesion setting up a few lines --- nzbtomedia/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nzbtomedia/__init__.py b/nzbtomedia/__init__.py index 00d29c6f..e5392bb3 100644 --- a/nzbtomedia/__init__.py +++ b/nzbtomedia/__init__.py @@ -172,7 +172,8 @@ def initialize(): logger.info("Loading config from %s", CONFIG_FILE) CFG = config() - # load git cfg info + # Set Version and GIT variables + NZBTOMEDIA_VERSION = '9.3' VERSION_NOTIFY = int(CFG['General']['version_notify']) AUTO_UPDATE = int(CFG['General']['auto_update']) GIT_PATH = CFG['General']['git_path'] @@ -192,7 +193,6 @@ def initialize(): logger.error("Update wasn't successful, not restarting. Check your log for more information.") # Set Current Version - NZBTOMEDIA_VERSION = '9.3' logger.info('nzbToMedia Version:' + NZBTOMEDIA_VERSION + ' Branch:' + GIT_BRANCH + ' (' + platform.system() + ' ' + platform.release() + ')') WakeUp()