mirror of
https://github.com/YunoHost/tartiflette.git
synced 2024-09-03 20:06:08 +02:00
Quick and dirty fix for issue with app page because of level = '?'
This commit is contained in:
parent
3ab2cd99bf
commit
390b9fc2b5
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue