Accessories:编码不对连注释里有中文都不行[CI SKIP]
This commit is contained in:
1 parent
3ff1a8d865
commit
f1684323f2
1 file changed
+1
-1
@@ -66,7 +66,7 @@ def easy_rejudge(submissions, map_table, user_id, contest_id=None):
|
||||
except Exception:
|
||||
print "error!"
|
||||
continue
|
||||
# 增加redis 中判题队列长度的计数器
|
||||
|
||||
r = redis.Redis(host=redis_config["host"], port=redis_config["port"], db=redis_config["db"])
|
||||
r.incr("judge_queue_length")
|
||||
|
||||
|
||||
Reference in new issue
Block a user