Commit be79810f by Ned Batchelder

Fix one problem from the merges

parent f62dad2f
...@@ -1041,9 +1041,8 @@ class CustomResponse(LoncapaResponse): ...@@ -1041,9 +1041,8 @@ class CustomResponse(LoncapaResponse):
# build map giving "correct"ness of the answer(s) # build map giving "correct"ness of the answer(s)
correct = self.context['correct'] correct = self.context['correct']
messages = self.context['messages'] messages = self.context['messages']
correct_map = CorrectMap()
overall_message = self.clean_message_html(self.context['overall_message']) overall_message = self.clean_message_html(self.context['overall_message'])
correct_map = CorrectMap()
correct_map.set_overall_message(overall_message) correct_map.set_overall_message(overall_message)
for k in range(len(idset)): for k in range(len(idset)):
...@@ -1110,6 +1109,7 @@ class CustomResponse(LoncapaResponse): ...@@ -1110,6 +1109,7 @@ class CustomResponse(LoncapaResponse):
if 'msg' in input_dict else None) if 'msg' in input_dict else None)
messages.append(msg) messages.append(msg)
self.context['messages'] = messages self.context['messages'] = messages
self.context['overall_message'] = overall_message
# Otherwise, we do not recognize the dictionary # Otherwise, we do not recognize the dictionary
# Raise an exception # Raise an exception
......
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