From 910caa42b09c28443c6aac8b05e586a09c10c2d7 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 29 Jul 2021 21:26:36 +0100 Subject: [PATCH] . --- sbas/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbas/views.py b/sbas/views.py index 7d60ad63..81458014 100644 --- a/sbas/views.py +++ b/sbas/views.py @@ -264,8 +264,8 @@ def exam_finish(request, pk, cid): { "exam": exam, "question_answer_tuples": question_answer_tuples, - "answer_count": answers.length, - "exam_length": exam.length, + "answer_count": len(answers), + "exam_length": len(exam), }, )