Fix for multiple calendars

This commit is contained in:
Diego Pereyra 2022-08-08 21:59:39 -03:00
parent 2ab14d9cd3
commit 124f13075d

View file

@ -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"))