mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Moved vesion setting up a few lines
This commit is contained in:
parent
cffc39e5a0
commit
c7a24b49b3
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue