From 390b9fc2b58539a1ee32c9e3f3c8cbc48333589c Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 20 Jul 2019 18:16:05 +0000 Subject: [PATCH] Quick and dirty fix for issue with app page because of level = '?' --- app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.py b/app/app.py index efe448c..f2bd47f 100644 --- a/app/app.py +++ b/app/app.py @@ -66,7 +66,7 @@ def appci_app(app): branch_results = list(app.most_recent_tests_per_branch()) for r in branch_results: - r.level = -1 if r.level is None else r.level + r.level = -1 if r.level in ["?", None] else int(r.level) return render_template("appci_app.html", tests=AppCI.tests, app=app,