Skip to content
Snippets Groups Projects
Commit e6db6e9e authored by Felix Sun's avatar Felix Sun
Browse files

Fixed bug where user isn't asked to submit a hint unless he's seen a hint.

parent eb5a90a3
No related branches found
No related tags found
No related merge requests found
......@@ -246,7 +246,7 @@ class CrowdsourceHinterModule(CrowdsourceHinterFields, XModule):
"""
# The student got it right.
# Did he submit at least one wrong answer?
if len(self.previous_answers) == 0:
if len(self.user_submissions) == 0:
# No. Nothing to do here.
return
# Make a hint-voting interface for each wrong answer. The student will only
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment