fix updater

This commit is contained in:
mac12m99
2019-08-04 14:55:18 +02:00
parent 5edd305d37
commit 0a9114bc49
2 changed files with 9 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ def get_addon_version(with_fix=True):
def get_addon_version_fix():
if not dev_mode():
sha = open(os.path.join(get_runtime_path(), 'last_commit.txt')).readline()
return sha[:8]
return sha[:7]
else:
return 'DEV'