This commit is contained in:
Ross
2021-02-01 12:41:03 +00:00
parent b440afe4b6
commit 1493408a69
+1 -1
View File
@@ -924,7 +924,7 @@ def exam_scores_cid(request, pk):
# Get user answer # Get user answer
s = q.cid_user_answers.filter(cid=cid).first() s = q.cid_user_answers.filter(cid=cid).first()
if q.normal and s.normal == q.normal: if s.normal:
ans = "Normal" ans = "Normal"
elif not s: elif not s:
# skip if no answer # skip if no answer