From 7d5e218155a4479cd4c872ebf5498680855666f5 Mon Sep 17 00:00:00 2001 From: scmmishra Date: Sat, 3 Nov 2018 19:34:27 +0530 Subject: [PATCH] Modified Quiz Evaluation --- erpnext/education/doctype/quiz/quiz.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/education/doctype/quiz/quiz.py b/erpnext/education/doctype/quiz/quiz.py index fdff16de02..a1cc36d9e4 100644 --- a/erpnext/education/doctype/quiz/quiz.py +++ b/erpnext/education/doctype/quiz/quiz.py @@ -23,8 +23,8 @@ class Quiz(Document): pass - def evaluate(self, response_dict, enrollment, quiz_name): - self.validate_quiz_attempts(enrollment, quiz_name) + def evaluate(self, response_dict, quiz_name): + # self.validate_quiz_attempts(enrollment, quiz_name) self.get_questions() answers = {q.name:q.get_answer() for q in self.get_questions()} correct_answers = {question: (answers[question] == response_dict[question]) for question in response_dict.keys()}