Fix keyerror "notes" -2

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

View file

@ -112,6 +112,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)