fix old-style customresponses
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user