* merged MI, thx @rejoe2 #788
* fixed reboot message #793
This commit is contained in:
lumapu 2023-03-23 22:41:56 +01:00
parent 53d02df854
commit 5a1a600327
5 changed files with 20 additions and 5 deletions

View file

@ -9,7 +9,10 @@ import subprocess
def get_git_sha():
return subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD']).decode('ascii').strip()
try:
return subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD']).decode('ascii').strip()
except:
return "0000000"
def readVersion(path):
f = open(path, "r")