add migration to correct database record; rejudge function now can work normally.
This commit is contained in:
@@ -4,5 +4,5 @@ from judge.dispatcher import JudgeDispatcher
|
||||
|
||||
|
||||
@shared_task
|
||||
def judge_task(submission_id, problem_id, is_rejudge=False):
|
||||
JudgeDispatcher(submission_id, problem_id, is_rejudge=is_rejudge).judge()
|
||||
def judge_task(submission_id, problem_id):
|
||||
JudgeDispatcher(submission_id, problem_id).judge()
|
||||
|
||||
Reference in New Issue
Block a user