diff --git a/sbas/views.py b/sbas/views.py index 43cab86d..c3b75406 100644 --- a/sbas/views.py +++ b/sbas/views.py @@ -202,7 +202,7 @@ def exam_scores_cid_user(request, pk, sk): merged_ans = (ans, answer_score, correct_answer) answers_and_marks.append((q, merged_ans)) - total_score = sum(sum(i) for i in answers_marks) + total_score = sum(answers_marks) max_score = len(questions)