diff --git a/google_calendar.py b/google_calendar.py index 5500982..aa2cde8 100644 --- a/google_calendar.py +++ b/google_calendar.py @@ -45,7 +45,7 @@ def get_service(creds: Credentials) -> Resource: def insert_or_update_event( service: Resource, id: str, title: str, start: datetime, end: datetime ): - event_id = b32hexencode(id.encode("ascii")).decode("ascii").lower() + event_id = b32hexencode(id.encode("ascii")).decode("ascii").lower().rstrip("=") event = { "id": event_id, "summary": title,