aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2019-11-27 22:30:19 +1100
committerBen Sturmfels <ben@sturm.com.au>2019-11-27 22:30:19 +1100
commitc5a6bbdc88d6e19351367b23c688a794b0810f67 (patch)
treebfe917e9c9ea1e81be5eef701f61457af08e7608
parent7075a065a215851f75dca098b8afddebc826366a (diff)
downloadmediagoblin-c5a6bbdc88d6e19351367b23c688a794b0810f67.tar.lz
mediagoblin-c5a6bbdc88d6e19351367b23c688a794b0810f67.tar.xz
mediagoblin-c5a6bbdc88d6e19351367b23c688a794b0810f67.zip
Use items() for Python 3 support.
-rw-r--r--mediagoblin/templates/mediagoblin/utils/exif.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/templates/mediagoblin/utils/exif.html b/mediagoblin/templates/mediagoblin/utils/exif.html
index b62208e1..27ae78b7 100644
--- a/mediagoblin/templates/mediagoblin/utils/exif.html
+++ b/mediagoblin/templates/mediagoblin/utils/exif.html
@@ -32,7 +32,7 @@
<h3>Camera Information</h3>
<table id="exif_camera_information">
<tbody>
- {% for label, value in media.exif_display_data_short().iteritems() %}
+ {% for label, value in media.exif_display_data_short().items() %}
<tr>
<td class="col1">{{ label }}</td>
<td>{{ value }}</td>