summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2019-11-26 14:29:03 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2019-11-27 15:06:12 +0000
commit95505797df503a086a311cab9aecbd2318522407 (patch)
tree1e3cf32a50ac10e9c95d59db883069051683f49e /templates
parent2d54f8036d1f58df9690849f5b82134927561d1e (diff)
downloadlorry-controller-95505797df503a086a311cab9aecbd2318522407.tar.gz
Update to python3
Diffstat (limited to 'templates')
-rw-r--r--templates/status.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/status.tpl b/templates/status.tpl
index 939f77d..46fe034 100644
--- a/templates/status.tpl
+++ b/templates/status.tpl
@@ -110,7 +110,7 @@
</tr>
% for i, spec in enumerate(run_queue):
% obj = json.loads(spec['text'])
-% name = obj.keys()[0]
+% name = list(obj)[0]
% fields = obj[name]
<tr>
<td>{{i+1}}</td>