From ba3187aae570321fb92739e2b502e8f15773e206 Mon Sep 17 00:00:00 2001 From: Michael Hiiva Date: Wed, 3 Jun 2020 16:04:02 -0700 Subject: [PATCH] Changed exception for AllRatingsTable. --- agagd/agagd_core/tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agagd/agagd_core/tables.py b/agagd/agagd_core/tables.py index 6dba8710..4b98e8be 100644 --- a/agagd/agagd_core/tables.py +++ b/agagd/agagd_core/tables.py @@ -202,7 +202,7 @@ def render_chapter_id(self, value): chapter_html = mark_safe("{}".format(chapter_url, members_chapter.name)) else: chapter_html = u"\u2014" - except ObjectDoesNotExist: + except: chapter_html = u"\u2014" return chapter_html