Remove unnecessary code for initial calendar scrape.
This commit is contained in:
parent
4cc8adc7b9
commit
96064eec12
1 changed files with 0 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue