mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-01-01 10:02:01 +00:00
commit
f94223e5c9
@ -15,7 +15,6 @@ class SubmissionRejudgeAPI(APIView):
|
|||||||
submission = Submission.objects.select_related("problem").get(id=id, contest_id__isnull=True)
|
submission = Submission.objects.select_related("problem").get(id=id, contest_id__isnull=True)
|
||||||
except Submission.DoesNotExist:
|
except Submission.DoesNotExist:
|
||||||
return self.error("Submission does not exists")
|
return self.error("Submission does not exists")
|
||||||
submission.info = {}
|
|
||||||
submission.statistic_info = {}
|
submission.statistic_info = {}
|
||||||
submission.save()
|
submission.save()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user