chore: better writing
All checks were successful
build / trigger-build-image (push) Successful in 1m21s
All checks were successful
build / trigger-build-image (push) Successful in 1m21s
This commit is contained in:
parent
71414ef9c9
commit
66e045fed9
|
|
@ -439,11 +439,12 @@ class Teapot:
|
||||||
f"max count={max_count}, submit count={submit_count}"
|
f"max count={max_count}, submit count={submit_count}"
|
||||||
)
|
)
|
||||||
use_group = True
|
use_group = True
|
||||||
|
keyword_placeholder = ""
|
||||||
if name:
|
if name:
|
||||||
comment += f"keyword `{name}` "
|
keyword_placeholder = f", with keyword `{name}`"
|
||||||
use_group = name.lower() in env.joj3_groups.lower()
|
use_group = name.lower() in env.joj3_groups.lower()
|
||||||
comment += (
|
comment += (
|
||||||
f"In last {time_period} hour(s): "
|
f"In last {time_period} hour(s) {keyword_placeholder}: "
|
||||||
f"submit count {submit_count}, "
|
f"submit count {submit_count}, "
|
||||||
f"max count {max_count}"
|
f"max count {max_count}"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user