Update annual_summary.py

This commit is contained in:
Joachim 2022-01-01 21:32:30 +01:00
parent 864b731cfa
commit 29b688b68d

View file

@ -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: