summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2017-03-10 14:58:12 -0800
committerEric Anholt <eric@anholt.net>2017-03-10 15:01:33 -0800
commit562e3ba3ce9d7d0c611f111681170c24c0c6a122 (patch)
treef4c485c0868f68baa4451c4e43b96863e6c84bf5
parentf36bcf392c87dfadacf91774e464ab59dd8cd06e (diff)
framework: Fix crash in images HTML generationapitrace
If you had images (which had been dropped from results storage), it could crash on undefined 'images'
-rw-r--r--templates/test_result.mako2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/test_result.mako b/templates/test_result.mako
index ff08797bc..974a5f8f1 100644
--- a/templates/test_result.mako
+++ b/templates/test_result.mako
@@ -38,7 +38,7 @@
<td>reference</td>
<td>rendered</td>
</tr>
- % for image in images:
+ % for image in value.images:
<tr>
<td>${image['image_desc']}</td>
<td><img src="file://${image['image_ref']}" /></td>