diff --git a/scraping.py b/scraping.py index 0f6154f..1e2ecba 100644 --- a/scraping.py +++ b/scraping.py @@ -44,7 +44,7 @@ def process_soup(soup: BeautifulSoup) -> List[Event]: return events -def get_events_today(events: List[Event]): +def get_events_today(events: List[Event]) -> List[Event]: return list(filter(lambda e: e.start.date() == datetime.datetime.today().date(), events))