summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 %}