From 12d618e1897f5aeebbb669573f95b24b865bcf83 Mon Sep 17 00:00:00 2001 From: dbth <1097224+believethehype@users.noreply.github.com> Date: Sat, 1 Mar 2025 14:59:03 +0100 Subject: [PATCH] Update discovery_on_this_day_and_olas.py --- tests/discovery_on_this_day_and_olas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/discovery_on_this_day_and_olas.py b/tests/discovery_on_this_day_and_olas.py index 1ada36c..85ca207 100644 --- a/tests/discovery_on_this_day_and_olas.py +++ b/tests/discovery_on_this_day_and_olas.py @@ -149,7 +149,7 @@ def playground(): database = asyncio.run(init_db(main_db, wipe=True, limit=main_db_limit, print_filesize=True)) last_year = datetime.date.today().year - 1 - if last_year % 4 == 0 and (last_year % 100 != 0 or last_year % 400 == 0): + if last_year % 4 == 0 and (last_year % 100 != 0 or last_year % 400 == 0) and datetime.date.today().month < 3: days = 366 else: days = 365