Workaround for 500 on showanswer for choiceresponse

This commit is contained in:
kimth
2012-08-22 12:41:30 -04:00
parent 9bcd3cd495
commit edefa04de1
2 changed files with 13 additions and 3 deletions

View File

@@ -557,7 +557,7 @@ class ChoiceResponse(LoncapaResponse):
return CorrectMap(self.answer_id, 'incorrect')
def get_answers(self):
return {self.answer_id: self.correct_choices}
return {self.answer_id: list(self.correct_choices)}
#-----------------------------------------------------------------------------