Accessories:修正刚刚提交的错误,因为该脚本只能在服务器上跑....所以试了才发现错误[CI SKIP]
This commit is contained in:
1 parent
a6ee2b2172
commit
40c79e85b8
1 file changed
+1
-1
@@ -14,7 +14,7 @@ def add_exist_problem_to_contest(problems, contest_id):
|
||||
for problem in problems:
|
||||
print "Add the problem:"
|
||||
print problem.title
|
||||
ContestProblem.create(contest, sort_index=str(i),
|
||||
ContestProblem.bujects.create(contest, sort_index=str(i),
|
||||
title=problem.title, description=problem.description,
|
||||
input_description=problem.input_description,
|
||||
output_description=problem.output_description,
|
||||
|
||||
Reference in new issue
Block a user