Spaces:
Build error
Build error
Update app.py
Browse files
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 |
|