Commit faff8c57 by Jason Bau

Change answer <-> response matching in capa.get_submission_metadata

parent afa3e0d2
......@@ -1186,8 +1186,7 @@ class CapaMixin(CapaFields):
answer_response = None
for response, responder in self.lcp.responders.iteritems():
for other_input_id in self.lcp.responder_answers[response]:
if other_input_id == input_id:
if input_id in responder.answer_ids:
answer_response = responder
if answer_response is None:
......
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