From 992192e4794edfb05d3be16ba8fe44e91aa38d67 Mon Sep 17 00:00:00 2001 From: zema1 Date: Mon, 26 Nov 2018 11:25:16 +0800 Subject: [PATCH] fix rejudge function --- submission/views/admin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/submission/views/admin.py b/submission/views/admin.py index 5a5cdf59..d2312c04 100644 --- a/submission/views/admin.py +++ b/submission/views/admin.py @@ -15,7 +15,6 @@ class SubmissionRejudgeAPI(APIView): submission = Submission.objects.select_related("problem").get(id=id, contest_id__isnull=True) except Submission.DoesNotExist: return self.error("Submission does not exists") - submission.info = {} submission.statistic_info = {} submission.save()