chore: Cleaned up quiz.py
This commit is contained in:
parent
e3dea29f58
commit
a0978a2aab
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user