chore: Cleaned up quiz.py

This commit is contained in:
scmmishra 2019-03-18 18:37:06 +05:30
parent e3dea29f58
commit a0978a2aab

View File

@ -8,7 +8,6 @@ from frappe.model.document import Document
class Quiz(Document):
def validate_quiz_attempts(self, enrollment, quiz_name):
print(enrollment, quiz_name)
if self.max_attempts > 0:
@ -19,10 +18,6 @@ class Quiz(Document):
pass
def get_quiz(self):
pass
def evaluate(self, response_dict, quiz_name):
# self.validate_quiz_attempts(enrollment, quiz_name)
self.get_questions()