.
This commit is contained in:
+1
-1
@@ -419,13 +419,13 @@ class Exam(ExamBase):
|
||||
|
||||
exam_questions[q.id] = {
|
||||
"images": images,
|
||||
"normal": q.normal,
|
||||
#"feedback_image": [],
|
||||
#"annotations": [str(q.image_annotations)],
|
||||
"type": "rapid",
|
||||
}
|
||||
|
||||
if not self.exam_mode:
|
||||
exam_questions[q.id]["normal"] = q.normal
|
||||
exam_questions[q.id]["feedback_images"] = feedback_images
|
||||
exam_questions[q.id]["answers"] = list(q.GetCorrectUnstrippedAnswers())
|
||||
|
||||
|
||||
+3
-3
@@ -578,9 +578,9 @@ def loadJsonAnswer(answer):
|
||||
|
||||
posted_answer = answer["ans"]
|
||||
|
||||
# qidn 1 does not hold answer data (but should always arrive prior to 2)
|
||||
if answer["qidn"] == "1":
|
||||
posted_answer = ""
|
||||
## qidn 1 does not hold answer data (but should always arrive prior to 2)
|
||||
#if answer["qidn"] == "1":
|
||||
# posted_answer = ""
|
||||
|
||||
# Normal answers are just posted with the answer "Normal"
|
||||
normal = False
|
||||
|
||||
Reference in New Issue
Block a user