Fix progress.py a bit

This commit is contained in:
Ethan Roseman 2023-08-14 13:53:41 +09:00
parent 308af519a5
commit b22883da65
No known key found for this signature in database
GPG Key ID: 27F9FCEB8E4969BD

View File

@ -208,8 +208,8 @@ def main(args):
) )
) )
elif args.pr_comment: elif args.pr_comment:
if funcs_delta > 0: if funcs_delta > 0 or ratio_delta > 0:
if funcs_delta == 1: if funcs_delta == 0 or funcs_delta == 1:
s = "" s = ""
else: else:
s = "s" s = "s"
@ -247,8 +247,8 @@ def main(args):
0x80250000, 0x80250000,
) )
if funcs_delta > 0: if funcs_delta > 0 or ratio_delta > 0:
if funcs_delta == 1: if funcs_delta == 0 or funcs_delta == 1:
s = "" s = ""
else: else:
s = "s" s = "s"