Commit 9c883420 by Calen Pennington

Fix typo when reading showanswer out of capa problem metadata

parent bbe589dd
......@@ -107,7 +107,7 @@ class CapaModule(XModule):
else:
self.max_attempts = None
self.show_answer = self.metadata.get('showanwser', 'closed')
self.show_answer = self.metadata.get('showanswer', 'closed')
if self.show_answer == "":
self.show_answer = "closed"
......
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