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