Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion problem_builder/answer.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def submit(self, submission):
@property
def status(self):
answer_length_ok = self.student_input
if self.min_characters > 0:
if self.min_characters and self.min_characters > 0:
answer_length_ok = len(self.student_input.strip()) >= self.min_characters

return 'correct' if answer_length_ok else 'incorrect'
Expand Down