.
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user