Commit d064018a authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team

views/results_file/info.html: do not fail when there is no run to display

We have several "'NoneType' object has no attribute 'status'" tickets on the server.
We should investigate why info.html has sometimes no run to display.
parent 71214104
......@@ -31,6 +31,7 @@ run = db(db.scheduler_run.task_id == results_file.scheduler_task_id).select().fi
</div>
{{if run:}}
<div id="db_table_container">
<table>
<tr>
......@@ -57,7 +58,7 @@ run = db(db.scheduler_run.task_id == results_file.scheduler_task_id).select().fi
</textarea></td></tr>
</table>
</div>
{{pass}}
<div class="db_block">
<div class="db_block_left">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment