mirror of
https://github.com/aaronleetw/Attendance.git
synced 2024-11-14 19:11:39 -08:00
Change format
This commit is contained in:
parent
cab781f1ba
commit
7ba0426561
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ def upload_stud_in_group():
|
||||||
for row in csv_dict:
|
for row in csv_dict:
|
||||||
for h in headers:
|
for h in headers:
|
||||||
db.child("Homerooms").child(gradec).child(classc).child(
|
db.child("Homerooms").child(gradec).child(classc).child(
|
||||||
str(gradec + classc)).child("GP_Class").update({h: row[h]}, session['token'])
|
row[str(gradec+classc)]).child("GP_Class").update({h: row[h]}, session['token'])
|
||||||
os.remove(filepath)
|
os.remove(filepath)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
os.remove(filepath)
|
os.remove(filepath)
|
||||||
|
|
Loading…
Reference in a new issue