Moved vesion setting up a few lines

This commit is contained in:
echel0n 2014-04-15 16:38:37 -07:00
commit c7a24b49b3

View file

@ -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()