chore: remove colon in title
All checks were successful
build / trigger-build-image (push) Successful in 9s
All checks were successful
build / trigger-build-image (push) Successful in 9s
This commit is contained in:
parent
dad4ff170c
commit
c1f7b4bdb2
|
@ -290,13 +290,13 @@ class Teapot:
|
||||||
now = datetime.now()
|
now = datetime.now()
|
||||||
if (begin_time and now < begin_time) or (end_time and now > end_time):
|
if (begin_time and now < begin_time) or (end_time and now > end_time):
|
||||||
return (
|
return (
|
||||||
"### Submission Time Check Failed:\n"
|
"### Submission Time Check Failed\n"
|
||||||
f"Current time {now} is not in the valid range "
|
f"Current time {now} is not in the valid range "
|
||||||
f"[{begin_time}, {end_time}].\n",
|
f"[{begin_time}, {end_time}].\n",
|
||||||
True,
|
True,
|
||||||
)
|
)
|
||||||
return (
|
return (
|
||||||
"### Submission Time Check Passed:\n"
|
"### Submission Time Check Passed\n"
|
||||||
f"Current time {now} is in the valid range "
|
f"Current time {now} is in the valid range "
|
||||||
f"[{begin_time}, {end_time}].\n",
|
f"[{begin_time}, {end_time}].\n",
|
||||||
False,
|
False,
|
||||||
|
@ -395,9 +395,9 @@ class Teapot:
|
||||||
comment += "."
|
comment += "."
|
||||||
comment += "\n"
|
comment += "\n"
|
||||||
if failed:
|
if failed:
|
||||||
title = "### Submission Count Check Failed:"
|
title = "### Submission Count Check Failed"
|
||||||
else:
|
else:
|
||||||
title = "### Submission Count Check Passed:"
|
title = "### Submission Count Check Passed"
|
||||||
msg = f"{title}\n{comment}\n"
|
msg = f"{title}\n{comment}\n"
|
||||||
return msg, failed
|
return msg, failed
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user