Fix overwriting version number with None
This commit is contained in:
@@ -253,7 +253,7 @@ def initialize(config_file):
|
|||||||
# Check for new versions
|
# Check for new versions
|
||||||
if CONFIG.CHECK_GITHUB_ON_STARTUP and CONFIG.CHECK_GITHUB:
|
if CONFIG.CHECK_GITHUB_ON_STARTUP and CONFIG.CHECK_GITHUB:
|
||||||
try:
|
try:
|
||||||
LATEST_VERSION = versioncheck.check_update()
|
versioncheck.check_update()
|
||||||
except:
|
except:
|
||||||
logger.exception(u"Unhandled exception")
|
logger.exception(u"Unhandled exception")
|
||||||
LATEST_VERSION = CURRENT_VERSION
|
LATEST_VERSION = CURRENT_VERSION
|
||||||
|
Reference in New Issue
Block a user