Remove unnecessary code for initial calendar scrape.

This commit is contained in:
s3lph 2019-08-21 13:57:38 +02:00
parent 4cc8adc7b9
commit 96064eec12

View file

@ -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()