Bugfix for not displaying information when there is no update available + simplification

This commit is contained in:
Virgil Grigoras
2018-09-10 11:20:34 +02:00
parent f7872aded0
commit b2b092c190
2 changed files with 80 additions and 69 deletions
+1 -1
View File
@@ -568,7 +568,7 @@ def get_current_version_info():
return False
if is_sha1(content[0]) and len(content[1]) > 0:
return {'sha': content[0], 'datetime': content[1]}
return {'hash': content[0], 'datetime': content[1]}
except FileNotFoundError:
return False
return False