Skip to content

Commit

Permalink
TEST status
Browse files Browse the repository at this point in the history
  • Loading branch information
tbmc committed Sep 30, 2023
1 parent d2d4306 commit 014f05b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion calendar_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def _extract_event_location(event_data: EVENT_TYPE, event: Event) -> None:


def _status_to_ics_status(sp_status: str) -> str:
return "TENTATIVE"
sp_status = sp_status.upper()
if sp_status == "CONFIRMED":
return "CONFIRMED"
Expand Down Expand Up @@ -105,7 +106,7 @@ def _extract_event_summary(event_data: EVENT_TYPE, event: Event, team_name: str)

slug_presence = group.get("slug_name")
presence = MY_PRESENCE.get(slug_presence)
# event.add("status", _status_to_ics_status(presence))
event.add("status", _status_to_ics_status(presence))

event.add("summary", summary)

Expand Down

0 comments on commit 014f05b

Please sign in to comment.