summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-28 13:14:37 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-28 13:14:37 -0700
commit6be66ac98b0ec7a9671e8ba9b28dfe8f73f9691d (patch)
tree260bba1500facefb1768e8019b12fd724c733a0d /python
parent66104716163f347a9ebbe052efc88f371ff305d6 (diff)
downloadfatcat-6be66ac98b0ec7a9671e8ba9b28dfe8f73f9691d.tar.gz
fatcat-6be66ac98b0ec7a9671e8ba9b28dfe8f73f9691d.zip
try to fix contrib indexing
Diffstat (limited to 'python')
-rw-r--r--python/fatcat/templates/release_view.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat/templates/release_view.html b/python/fatcat/templates/release_view.html
index 57fe5725..e3c077b9 100644
--- a/python/fatcat/templates/release_view.html
+++ b/python/fatcat/templates/release_view.html
@@ -97,7 +97,7 @@ Raw Object:
</thead>
<tbody>
{% for contrib in release.contribs %}
- <tr><td>{% if type(contrib.index) == int %} {{ contrib.index + 1 }}{% endif %}
+ <tr><td>{% if contrib.index or contrib.index == 0 %} {{ contrib.index + 1 }}{% endif %}
{% if contrib.creator_id %}
<td><a href="/creator/{{contrib.creator_id}}">{{ contrib.raw_name }}</a>
{% else %}