Update annual_summary.py
This commit is contained in:
parent
864b731cfa
commit
29b688b68d
|
@ -216,7 +216,7 @@ def get_books_from_shelfbooks(books_ids):
|
||||||
|
|
||||||
def get_goal_status(user, year):
|
def get_goal_status(user, year):
|
||||||
"""return a dict with the year's goal status"""
|
"""return a dict with the year's goal status"""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
goal = models.AnnualGoal.objects.get(user=user, year=year)
|
goal = models.AnnualGoal.objects.get(user=user, year=year)
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue