Skip to content

Commit

Permalink
Apply Linting & Formatting Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiramtilakiiit authored and github-actions[bot] committed Oct 4, 2024
1 parent 4051f8d commit 7961576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7961576

Please sign in to comment.