From 864b731cfa230a996f84333ca1664aef5646417f Mon Sep 17 00:00:00 2001 From: Joachim Date: Sat, 1 Jan 2022 21:30:13 +0100 Subject: [PATCH] remove testing line --- bookwyrm/views/annual_summary.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bookwyrm/views/annual_summary.py b/bookwyrm/views/annual_summary.py index 0b618c218..960b1550a 100644 --- a/bookwyrm/views/annual_summary.py +++ b/bookwyrm/views/annual_summary.py @@ -199,8 +199,7 @@ def is_year_available(user, year): year = int(year) if earliest_year <= year < today.year: return True - #if year == today.year and today >= date(today.year, 12, FIRST_DAY): - if year == today.year and today >= date(today.year, 1, 1): + if year == today.year and today >= date(today.year, 12, FIRST_DAY): return True return False