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

This commit is contained in:
Felix Sun
2013-07-19 16:03:32 -04:00
parent eb5a90a3ed
commit e6db6e9ea3

View File

@@ -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