(20260122)- handle the user key

This commit is contained in:
yatmesh
2026-01-22 15:25:00 +05:30
parent 610bb3ec38
commit 2557b349a6
+2 -1
View File
@@ -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!")