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

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

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"]) + ""