mirror of
https://github.com/aaronleetw/Attendance.git
synced 2024-11-14 11:01:39 -08:00
To accomdate data
This commit is contained in:
parent
16124f7617
commit
a0e2b7b0ed
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ def upload_homeroom():
|
|||
with open(filepath) as file:
|
||||
csv_dict = csv.DictReader(file)
|
||||
for row in csv_dict:
|
||||
if row['number'] == 'teacher':
|
||||
if row['number'] == 'teacher' | | row['number'] == 'Teacher':
|
||||
accs = row['name'].split(',')
|
||||
for key in allUsers:
|
||||
if accs == []:
|
||||
|
|
Loading…
Reference in a new issue