Skip to content

Commit

Permalink
MT: events: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jessemortenson committed Dec 10, 2024
1 parent f02e89d commit 5a07bf7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scrapers/mt/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,7 @@ def check_for_existing_event(
self, title: str, start_date: datetime.datetime.date
) -> Union[Event, None]:
for event in self._events:
if (
event.name == title
and event.start_date == start_date
):
if event.name == title and event.start_date == start_date:
return event

return None
Expand Down

0 comments on commit 5a07bf7

Please sign in to comment.