This commit is contained in:
Ross
2022-09-06 10:30:56 +01:00
parent e6a32d3b6c
commit 391e9b0b62
+2 -1
View File
@@ -1035,9 +1035,10 @@ def exam_scores_cid_user(request, pk, cid, passcode):
total_score = sum(answered)
unmarked_number = len(answers_marks) - len(answered)
total_score = "{} ({} unmarked)".format(total_score, unmarked_number)
normalised_score = "Not available"
else:
total_score = sum(answered)
normalised_score = normaliseScore(total_score)
normalised_score = normaliseScore(total_score)
max_score = len(questions) * 8