This commit is contained in:
Ross
2021-09-11 19:43:15 +01:00
parent 545b97f8f4
commit 8ce8e47de8
2 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -730,7 +730,7 @@ def mark_answer(request, exam_id, question_number, cid):
# if they do automatically update teh scoer
marks = set(answer.mark.values_list("score", flat=True))
if len(marks) == 1:
answer.score = marks[0]
answer.score = marks.pop()
else:
answer.score = ""
answer.save()