mirror of
https://github.com/aaronleetw/Attendance.git
synced 2024-11-14 19:11:39 -08:00
Final format
This commit is contained in:
parent
7ba0426561
commit
f4636365a3
1 changed files with 2 additions and 2 deletions
|
@ -207,9 +207,9 @@ def upload_dates():
|
|||
periodData = db.child("Classes").child(
|
||||
"Homeroom").child(t).child(i).get(session['token']).val()
|
||||
db.child("Homerooms").child(t).child(i).child(
|
||||
"Absent").child(h).update({"dow": row[h]}, session['token'])
|
||||
"Absent").child(h).update({"dow": row[h.replace('-', '/')]}, session['token'])
|
||||
db.child("Homerooms").child(t).child(i).child(
|
||||
"Absent").child(h).update(periodData[int(row[h])], session['token'])
|
||||
"Absent").child(h).update(periodData[int(row[h.replace('-', '/')])], session['token'])
|
||||
os.remove(filepath)
|
||||
except Exception as e:
|
||||
os.remove(filepath)
|
||||
|
|
Loading…
Reference in a new issue