.
This commit is contained in:
+3
-1
@@ -1421,6 +1421,8 @@ def collection_scores_cid(request, pk):
|
||||
|
||||
cids = set()
|
||||
|
||||
case_list = list(cases)
|
||||
|
||||
# Loop through all candidates
|
||||
for cid_user_answer in cid_user_answers:
|
||||
# Convoluted (probably...)
|
||||
@@ -1443,7 +1445,7 @@ def collection_scores_cid(request, pk):
|
||||
|
||||
answer_score = s.get_answer_score()
|
||||
if answer_score == "unmarked" or answer_score == None:
|
||||
index = cases.index(q)
|
||||
index = case_list.index(q)
|
||||
unmarked.add(index)
|
||||
user_answers[cid].append(ans)
|
||||
user_answers_marks[cid].append(answer_score)
|
||||
|
||||
Reference in New Issue
Block a user