feat: more spaces

This commit is contained in:
张泊明518370910136 2024-10-11 01:31:45 -04:00
parent 02a09d32fb
commit 2ea2d7a1a8
GPG Key ID: CA088E6D9284F870

View File

@ -201,16 +201,16 @@ def generate_title_and_comment(
for result in stage["results"]
):
continue
comment += f"## {stage['name']}\n"
comment += f"## {stage['name']}"
force_quit = stage["force_quit"]
if force_quit:
comment += " - Failed"
comment += " - Fatal Error"
comment += "\n"
for i, result in enumerate(stage["results"]):
comment += "<details>"
comment += "<details>\n"
comment += f"<summary>Case {i} - Score: {result['score']}</summary>\n"
if result["comment"].strip() != "":
comment += f"\n{result['comment']}\n"
comment += f"\n{result['comment']}\n\n"
comment += "</details>\n\n"
total_score += result["score"]
comment += "\n"