summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez Piedehierro <palvarez89@gmail.com>2017-07-08 15:12:59 +0100
committerPedro Alvarez Piedehierro <palvarez89@gmail.com>2017-07-08 15:12:59 +0100
commit83159e960ad3f1ef6470e765c2ff558cec27f25c (patch)
tree852e71e260b653fd0eac0cfcf7758af82995611c
parenteb1d4107bcc446232fd1bdb3eb7f7e7d39454ce6 (diff)
downloadlorry-controller-83159e960ad3f1ef6470e765c2ff558cec27f25c.tar.gz
fixup?
-rw-r--r--templates/status.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/status.tpl b/templates/status.tpl
index 6083c14..e47946a 100644
--- a/templates/status.tpl
+++ b/templates/status.tpl
@@ -121,7 +121,7 @@
% end
<td>{{spec['interval_nice']}}</td>
<td>{{spec['due_nice']}}</td>
-% if publish_failures and spec['last_run_exit'] is not '0':
+% if publish_failures and spec['last_run_exit'] is not None and spec['last_run_exit'] is not "0":
<td><details>
<summary>{{spec['last_run_exit']}}: Show log</summary>
<p>{{spec['last_run_error']}}</p>