Delete the print function
This commit is contained in:
parent
3207702e85
commit
4a1d800802
1 changed files with 0 additions and 1 deletions
|
@ -329,7 +329,6 @@ class DjangoJudgeHandler(JudgeHandler):
|
||||||
updates = packet['cases']
|
updates = packet['cases']
|
||||||
max_position = max(map(itemgetter('position'), updates))
|
max_position = max(map(itemgetter('position'), updates))
|
||||||
sum_points = sum(map(itemgetter('points'), updates))
|
sum_points = sum(map(itemgetter('points'), updates))
|
||||||
print(sum_points)
|
|
||||||
|
|
||||||
if not Submission.objects.filter(id=id).update(current_testcase=max_position + 1, points=F('points') + sum_points):
|
if not Submission.objects.filter(id=id).update(current_testcase=max_position + 1, points=F('points') + sum_points):
|
||||||
logger.warning('Unknown submission: %s', id)
|
logger.warning('Unknown submission: %s', id)
|
||||||
|
|
Loading…
Reference in a new issue