fix: removed unnecessary condition which resets show_answers to False

This commit is contained in:
Fahid Latheef Alungal
2024-11-06 03:20:30 +05:30
parent fe1f78f8aa
commit 619262aa97

View File

@@ -63,8 +63,6 @@ class LMSQuiz(Document):
"If you want open ended questions then make sure each question in the quiz is of open ended type." "If you want open ended questions then make sure each question in the quiz is of open ended type."
) )
) )
else:
self.show_answers = 0
def autoname(self): def autoname(self):
if not self.name: if not self.name: