(20260122)- handle the user key
This commit is contained in:
+2
-1
@@ -313,7 +313,8 @@ def sync_attendance_to_tcaoff(
|
|||||||
if not cosec_notes: continue
|
if not cosec_notes: continue
|
||||||
# print("COSEC NOTES:", cosec_notes)
|
# print("COSEC NOTES:", cosec_notes)
|
||||||
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("COSEC to TCAOFF TEAMS:", json.to_string(cosec_id_to_tcaoff_team))
|
||||||
|
|
||||||
# print("Hi, attendance!")
|
# print("Hi, attendance!")
|
||||||
|
|||||||
Reference in New Issue
Block a user