Commit cee0781a by David Ormsbee

Don't cap points coming back from CodeResponses -- let them be more than…

Don't cap points coming back from CodeResponses -- let them be more than max_points if they want to award extra credit.
parent 94a12bdd
......@@ -1309,8 +1309,6 @@ class CodeResponse(LoncapaResponse):
# Sanity check on returned points
if points < 0:
points = 0
elif points > self.maxpoints[self.answer_id]:
points = self.maxpoints[self.answer_id]
# Queuestate is consumed
oldcmap.set(self.answer_id, npoints=points, correctness=correctness,
msg=msg.replace('&nbsp;', '&#160;'), queuestate=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