mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 12:49:06 +00:00
fix: incompleted changes from EVENT_WINDOW*
This commit is contained in:
@@ -133,8 +133,8 @@ class ICSFetchService:
|
||||
events = []
|
||||
total_events = 0
|
||||
now = datetime.now(timezone.utc)
|
||||
window_start = now + timedelta(hours=EVENT_WINDOW_DELTA_START)
|
||||
window_end = now + timedelta(hours=EVENT_WINDOW_DELTA_END)
|
||||
window_start = now + EVENT_WINDOW_DELTA_START
|
||||
window_end = now + EVENT_WINDOW_DELTA_END
|
||||
|
||||
for component in calendar.walk():
|
||||
if component.name != "VEVENT":
|
||||
|
||||
Reference in New Issue
Block a user