Commit f7d798e0 by Xavier Antoviaque

Don't attempt to capitalize submission content, which can be None

parent 97c9df97
......@@ -129,7 +129,7 @@ class QuizzBlock(XBlock):
for choice in self.custom_choices:
if choice.value == submission:
return choice.content
return submission.upper()
return submission
def get_tips(self):
"""
......
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