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 # 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