improve delete log line
Periodic refresh of events / Run-Scraper (push) Successful in 1m22s

This commit is contained in:
2025-04-16 00:27:30 -07:00
parent 9cd7505517
commit a5e622b950
+1 -1
View File
@@ -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()