This commit is contained in:
@@ -314,7 +314,7 @@ def update_gcal(scraped_events, tracks, cfg):
|
||||
if "iCalUID" not in event or event["iCalUID"] not in uids and event["status"] != "cancelled":
|
||||
cal = gcalevent_gcal_map[event["id"]]
|
||||
action_taken_map["unchanged"].append(event)
|
||||
print(f"gcal event g {event['id']} not in latest scrape, deleting...")
|
||||
print(f"gcal event {event['summary']} g {event['id']} (uid: {event.get('iCalUID') or 'unknown'}) not in latest scrape, deleting...")
|
||||
|
||||
service.events().delete(calendarId=cal, eventId=event["id"]).execute()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user