From 29b688b68d0713c85a578f9a1d868fe4464ac5c3 Mon Sep 17 00:00:00 2001 From: Joachim Date: Sat, 1 Jan 2022 21:32:30 +0100 Subject: [PATCH] Update annual_summary.py --- bookwyrm/views/annual_summary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/views/annual_summary.py b/bookwyrm/views/annual_summary.py index 960b1550..9f37a6f1 100644 --- a/bookwyrm/views/annual_summary.py +++ b/bookwyrm/views/annual_summary.py @@ -216,7 +216,7 @@ def get_books_from_shelfbooks(books_ids): def get_goal_status(user, year): """return a dict with the year's goal status""" - + try: goal = models.AnnualGoal.objects.get(user=user, year=year) except: