将比赛排名页面的错误次数换行显示

This commit is contained in:
virusdefender committed 2015-12-26 22:34:54 +08:00
1 parent 572753112c
commit 85c53aaf7d
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ def get_submission_content(rank, problem):
if submission["is_ac"]:
r = get_the_formatted_time(submission["ac_time"])
if submission["error_number"]:
r += "(-" + str(submission["error_number"]) + ")"
r += "<br>(-" + str(submission["error_number"]) + ")"
return r
else:
return "(-" + str(submission["error_number"]) + ")"