Fix error "notes"

This commit is contained in:
Aaron Lee 2021-10-12 16:06:08 +08:00
parent 8eb6588b75
commit 7efd30e2f4

View file

@ -78,6 +78,8 @@ def manageProcess(fCommand, fData):
elif j == "confirm":
confirmed.append([h[0], h[1]])
continue
elif j == "notes":
continue
if (tmpAbsData[currDate][j]['name'] == 'GP' and
tmpAbsData[currDate][j]['teacher'] == cclass['category']):
periods.append(j)
@ -94,6 +96,8 @@ def manageProcess(fCommand, fData):
elif j == "confirm":
confirmed.append([h[0], h[1]])
continue
elif j == 'notes':
continue
if (tmpAbsData[i][j]['name'] == 'GP' and
tmpAbsData[i][j]['teacher'] == cclass['category']):
periods.append(j)