From 55b65574151c192ab3c9e6907a9a5ac042f70780 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 10 Dec 2021 23:15:30 +0000 Subject: [PATCH] . --- physics/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/physics/views.py b/physics/views.py index b3a4cacf..720a5e03 100644 --- a/physics/views.py +++ b/physics/views.py @@ -287,7 +287,8 @@ def exam_finish(request, pk, cid): question_answer_tuples = [] answer_count = 0 for q in questions: - if q in answer_question_map and answer_question_map[q].answer: + #if q in answer_question_map and answer_question_map[q].answer: + if q in answer_question_map: # might need to improve this question_answer_tuples.append((q, answer_question_map[q])) answer_count += 1 else: