chore: remove colon in title
All checks were successful
build / trigger-build-image (push) Successful in 9s

This commit is contained in:
张泊明518370910136 2025-06-18 09:21:57 -04:00
parent dad4ff170c
commit c1f7b4bdb2
GPG Key ID: CA088E6D9284F870

View File

@ -290,13 +290,13 @@ class Teapot:
now = datetime.now()
if (begin_time and now < begin_time) or (end_time and now > end_time):
return (
"### Submission Time Check Failed:\n"
"### Submission Time Check Failed\n"
f"Current time {now} is not in the valid range "
f"[{begin_time}, {end_time}].\n",
True,
)
return (
"### Submission Time Check Passed:\n"
"### Submission Time Check Passed\n"
f"Current time {now} is in the valid range "
f"[{begin_time}, {end_time}].\n",
False,
@ -395,9 +395,9 @@ class Teapot:
comment += "."
comment += "\n"
if failed:
title = "### Submission Count Check Failed:"
title = "### Submission Count Check Failed"
else:
title = "### Submission Count Check Passed:"
title = "### Submission Count Check Passed"
msg = f"{title}\n{comment}\n"
return msg, failed