From 875470c246293458529fa70d08b3abd0a7b2742e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 21 Dec 2018 15:39:58 -0800 Subject: SHA1 no longer required on file entities --- python/fatcat_web/templates/release_view.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html index 39dcf8fd..85492eba 100644 --- a/python/fatcat_web/templates/release_view.html +++ b/python/fatcat_web/templates/release_view.html @@ -123,7 +123,7 @@ Raw Object: {% for file in files %} - {{ file.sha1[:16] + "..." }} + {% if file.sha1 != None %}{{ file.sha1[:16] + "..." }}{% else %}N/A{% endif %} {% if file.size != None %}{{ file.size }}{% endif %} {% if file.mimetype != None %}{{ file.mimetype }}{% endif %} {% for url in file.urls %} -- cgit v1.2.3