This commit is contained in:
Ross
2021-02-08 11:59:08 +00:00
parent 43c31adc99
commit 42b1a72a4a
2 changed files with 10 additions and 14 deletions
+3 -3
View File
@@ -387,17 +387,17 @@ class Exam(ExamBase):
exam_json = {
"eid": "rapid/{}".format(exam.id),
"eid": "rapid/{}".format(self.id),
"cached": False,
"exam_type": "rapid",
"exam_name": exam.name,
"exam_name": self.name,
"exam_mode": True,
"exam_order": exam_order,
"questions": exam_questions,
}
if exam.time_limit:
exam_json["exam_time"] = exam.time_limit
exam_json["exam_time"] = self.time_limit
return