.
This commit is contained in:
+2
-2
@@ -251,9 +251,9 @@ def exam_finish(request, pk, cid):
|
|||||||
question_answer_tuples = []
|
question_answer_tuples = []
|
||||||
for q in questions:
|
for q in questions:
|
||||||
if q in answer_question_map:
|
if q in answer_question_map:
|
||||||
question_answer_tuples.append(q, answer_question_map[q])
|
question_answer_tuples.append((q, answer_question_map[q]))
|
||||||
else:
|
else:
|
||||||
question_answer_tuples.append(q, None)
|
question_answer_tuples.append((q, None))
|
||||||
|
|
||||||
if not exam.active:
|
if not exam.active:
|
||||||
raise Http404("Exam not found")
|
raise Http404("Exam not found")
|
||||||
|
|||||||
Reference in New Issue
Block a user