bugfix for example vs pi-cal-grabber

This commit is contained in:
Lucas Oskorep committed 2022-07-18 13:45:43 -04:00
1 parent f77db360ab
commit d768bcb20d
2 files changed
+2 -2

No files matched your search

+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)