Merge pull request #1098 from FahidLatheef/develop

fix: removed unnecessary condition which resets show_answers to False
This commit is contained in:
Jannat Patel
2024-11-06 15:30:24 +05:30
committed by GitHub

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: