Merge pull request #1101 from MITx/bugfix/dave/remove_point_cap
Don't cap points coming back from CodeResponses
This commit is contained in:
@@ -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(' ', ' '), queuestate=None)
|
||||
|
||||
Reference in New Issue
Block a user