From 7efd30e2f4e8d88428053a2d6670ac871e92a18e Mon Sep 17 00:00:00 2001 From: Aaron Lee Date: Tue, 12 Oct 2021 16:06:08 +0800 Subject: [PATCH] Fix error "notes" --- manage.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manage.py b/manage.py index f0d3bf3..84b266c 100644 --- a/manage.py +++ b/manage.py @@ -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)