Fix for multiple calendars
This commit is contained in:
parent
2ab14d9cd3
commit
124f13075d
1 changed files with 0 additions and 3 deletions
|
@ -102,9 +102,6 @@ class Module(core.module.Module):
|
||||||
)
|
)
|
||||||
events = events_result.get("items", [])
|
events = events_result.get("items", [])
|
||||||
|
|
||||||
if not events:
|
|
||||||
return "No upcoming events found."
|
|
||||||
|
|
||||||
for event in events:
|
for event in events:
|
||||||
start = dtparse(
|
start = dtparse(
|
||||||
event["start"].get("dateTime", event["start"].get("date"))
|
event["start"].get("dateTime", event["start"].get("date"))
|
||||||
|
|
Loading…
Reference in a new issue