From 796157618d7fa181ce933f703464f859e5849aac Mon Sep 17 00:00:00 2001 From: abhiramtilakiiit Date: Fri, 4 Oct 2024 16:23:33 +0000 Subject: [PATCH] Apply Linting & Formatting Fixes --- db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.py b/db.py index 179d8b7..70f8b33 100644 --- a/db.py +++ b/db.py @@ -20,7 +20,7 @@ try: # check if the holidays index exists - if not "one_holiday_on_day" in holidaysdb.index_information(): + if "one_holiday_on_day" not in holidaysdb.index_information(): # create the index holidaysdb.create_index( [("date", 1)], unique=True, name="one_holiday_on_day"