fotgot one

This commit is contained in:
David Kilias 2021-01-04 23:17:30 +01:00
parent afee6c62a6
commit 68686fd3ca

3
app.py
View file

@ -38,8 +38,7 @@ class HealthHandler(tornado.web.RequestHandler, metaclass=ABCMeta):
v = subprocess.check_output(["git", "describe", "--always", "--dirty"], v = subprocess.check_output(["git", "describe", "--always", "--dirty"],
cwd=os.path.dirname(__file__)).strip().decode() cwd=os.path.dirname(__file__)).strip().decode()
except subprocess.CalledProcessError as e: except subprocess.CalledProcessError as e:
print("Checking git version lead to non-null return code ", print("Checking git version lead to non-null return code ", e.returncode)
e.returncode)
return v return v