feat: hide empty stages (#44)
Co-authored-by: BoYanZh <boyanzh233@gmail.com>
This commit is contained in:
parent
6888ce51d9
commit
bc73b17abd
|
@ -197,6 +197,11 @@ def generate_title_and_comment(
|
|||
)
|
||||
for stage in stages:
|
||||
comment += f"## {stage['name']}"
|
||||
if all(
|
||||
result["score"] == 0 and result["comment"].strip() == ""
|
||||
for result in stage["results"]
|
||||
):
|
||||
continue
|
||||
force_quit = stage["force_quit"]
|
||||
if force_quit:
|
||||
comment += " - Failed"
|
||||
|
|
Loading…
Reference in New Issue
Block a user