Fix overwriting version number with None

This commit is contained in:
JonnyWong16 2019-07-02 08:58:56 -07:00
commit df50559495

View file

@ -253,7 +253,7 @@ def initialize(config_file):
# Check for new versions
if CONFIG.CHECK_GITHUB_ON_STARTUP and CONFIG.CHECK_GITHUB:
try:
LATEST_VERSION = versioncheck.check_update()
versioncheck.check_update()
except:
logger.exception(u"Unhandled exception")
LATEST_VERSION = CURRENT_VERSION