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