diff --git a/icalendar_timeseries_server/cal.py b/icalendar_timeseries_server/cal.py index 0e582ec..a2e2200 100644 --- a/icalendar_timeseries_server/cal.py +++ b/icalendar_timeseries_server/cal.py @@ -102,9 +102,6 @@ def scrape_calendar(name: str, config: CalendarConfig): def start_scrape_calendar(name: str, config: CalendarConfig): - # Get current time in configured timezone - tz = get_config().tz - now: datetime = datetime.now(tz) # Schedule first calendar scraping cron = Timer(0, lambda: scrape_calendar(name, config)) cron.start()