Fix codestyle

This commit is contained in:
s3lph 2020-11-06 03:35:22 +01:00
parent 395393345e
commit fae85de8ca

View file

@ -100,7 +100,6 @@ def _scrape_calendar(name: str, config: CalendarConfig, start: datetime, end: da
duration = element.get('duration').dt duration = element.get('duration').dt
todos.append(Todo(name, element, dtstart, dtstart + duration)) todos.append(Todo(name, element, dtstart, dtstart + duration))
with _SCRAPE_CACHE_LOCK: with _SCRAPE_CACHE_LOCK:
_EVENT_SCRAPE_CACHE[name] = events _EVENT_SCRAPE_CACHE[name] = events
_TODO_SCRAPE_CACHE[name] = todos _TODO_SCRAPE_CACHE[name] = todos