From ad7f1deeda1ce8b0e2df95571be7f73733cc1e3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B5=90=E6=84=9B=E3=81=99=E3=81=BF=E3=81=8B?= Date: Sat, 20 Apr 2024 22:15:47 -0400 Subject: [PATCH] bug fix --- mongodb/source/autograder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mongodb/source/autograder.py b/mongodb/source/autograder.py index a1836b9..929b108 100644 --- a/mongodb/source/autograder.py +++ b/mongodb/source/autograder.py @@ -88,6 +88,7 @@ def evaluate(query : str): if query.endswith(';'): query = query[:-1] true = True + false = False data = list(eval(query)) return [postproc_iter(data, n) if query else None for n in (True, False)]