diff --git a/cron/reports.py b/cron/reports.py index 5b79bb0..e90c60a 100644 --- a/cron/reports.py +++ b/cron/reports.py @@ -313,7 +313,8 @@ def sync_attendance_to_tcaoff( if not cosec_notes: continue # print("COSEC NOTES:", cosec_notes) print("Cosec Notes:", cosec_notes) - cosec_id_to_tcaoff_team[cosec_notes["User ID"]] = t + # cosec_id_to_tcaoff_team[cosec_notes["User ID"]] = t + cosec_id_to_tcaoff_team[cosec_notes.get("User ID") or cosec_notes.get("UserID")] = t print("COSEC to TCAOFF TEAMS:", json.to_string(cosec_id_to_tcaoff_team)) # print("Hi, attendance!")