From 8a1199d2bd1fa79391e121e537181b63025efc76 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 11 Jan 2019 19:50:19 -0800 Subject: allow null release_refs (as opposed to empty list) --- python/fatcat_web/templates/release_view.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html index fd86b7c9..4e24b281 100644 --- a/python/fatcat_web/templates/release_view.html +++ b/python/fatcat_web/templates/release_view.html @@ -143,7 +143,7 @@ Raw Object: {% endif %}
-{% if release.refs.size != 0 %} +{% if release.refs != None and release.refs.size != 0 %}

References

This release citing other releases.
    -- cgit v1.2.3