Skip to content

Commit

Permalink
Merge pull request #1098 from FahidLatheef/develop
Browse files Browse the repository at this point in the history
fix: removed unnecessary condition which resets show_answers to False
  • Loading branch information
pateljannat authored Nov 6, 2024
2 parents e6a532a + 619262a commit 8004982
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lms/lms/doctype/lms_quiz/lms_quiz.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ def validate_open_ended_questions(self):
"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):
if not self.name:
Expand Down

0 comments on commit 8004982

Please sign in to comment.