Commit e6db6e9e by Felix Sun

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

parent eb5a90a3
...@@ -246,7 +246,7 @@ class CrowdsourceHinterModule(CrowdsourceHinterFields, XModule): ...@@ -246,7 +246,7 @@ class CrowdsourceHinterModule(CrowdsourceHinterFields, XModule):
""" """
# The student got it right. # The student got it right.
# Did he submit at least one wrong answer? # 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. # No. Nothing to do here.
return return
# Make a hint-voting interface for each wrong answer. The student will only # Make a hint-voting interface for each wrong answer. The student will only
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment