omarkashif commited on
Commit
650755d
·
verified ·
1 Parent(s): 04c22f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ class AttendanceTracker:
61
 
62
  for name, statuses in existing_data.items():
63
  # Append new status for the new column
64
- status = "Present" if name in new_attendance_list else "Absent"
65
  statuses.append(status)
66
  updated_rows.append([name] + statuses)
67
 
 
61
 
62
  for name, statuses in existing_data.items():
63
  # Append new status for the new column
64
+ status = "Present" if name.lower() in new_attendance_list.lower() else "Absent"
65
  statuses.append(status)
66
  updated_rows.append([name] + statuses)
67