Commit 20974d6c authored by erdnaxe's avatar erdnaxe 🎇

DAYLIGHT and STANDARD should always be in a VTIMEZONE

parent 9a0fd689
......@@ -50,7 +50,8 @@ def write_calendar_from_dav(f, dav_components, selected_groups):
print('Traitement de {}/{}\r'.format(i, len(dav_components)), end='')
dav_component.load() # Download CalDav component
ical = icalendar.Event.from_ical( # Parse ical
ical_components = [c for c in ical.walk() if != 'VCALENDAR']
ical_components = [c for c in ical.walk() if not in blacklist]
for ical_component in ical_components:
if == "VEVENT":
# If it is an event, then check it is in the correct group
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment