bugfix for example vs pi-cal-grabber

This commit is contained in:
Lucas Oskorep
2022-07-18 13:45:43 -04:00
parent f77db360ab
commit d768bcb20d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ class CalGrab(object):
start = now
all_events = []
for calendar in self.calendars:
print("processing calendar")
print(f"processing {calendar}")
events_result = self.service.events().list(
calendarId=calendar,
timeMin=now.isoformat() + 'Z',
+1 -1
View File
@@ -71,7 +71,7 @@ def process_events(events):
def main():
cg = CalGrab("./.auth.json", [CALENDARS], [process_events])
cg = CalGrab("./.auth.json", CALENDARS, [process_events])
cg.update_at_interval(10)