Commit a46b8e5f by Arjun Singh

fix old-style customresponses

parent 47b1c809
......@@ -971,8 +971,9 @@ def sympy_check2():
# build map giving "correct"ness of the answer(s)
correct_map = CorrectMap()
for k in range(len(idset)):
npoints = self.maxpoints[idset[k]] if correct[k] == 'correct' else 0
correct_map.set(idset[k], correct[k], msg=messages[k],
npoints=self.maxpoints[idset[k]])
npoints=npoints)
return correct_map
def get_answers(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