fix calendar script
This commit is contained in:
parent
4e26fc6764
commit
bc89cfbcab
|
@ -1 +1 @@
|
||||||
-b https://staging.berlin.ccc.de/
|
--baseURL=https://staging.berlin.ccc.de/
|
||||||
|
|
|
@ -55,7 +55,7 @@ def find_events(icsfilestr, start, end, num):
|
||||||
for event in cal.subcomponents:
|
for event in cal.subcomponents:
|
||||||
if event.name == "VEVENT":
|
if event.name == "VEVENT":
|
||||||
if "RRULE" in event.keys():
|
if "RRULE" in event.keys():
|
||||||
events.append(parse_recurring_event(event, start, end))
|
events.extend(parse_recurring_event(event, start, end))
|
||||||
elif ev := parse_single_event(event, start, end) != None:
|
elif ev := parse_single_event(event, start, end) != None:
|
||||||
events.append(ev)
|
events.append(ev)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue