fixed
This commit is contained in:
parent
5883c95d82
commit
daedc365b5
@ -170,7 +170,7 @@ def run_fights(msg: ReciveMessage, client) -> None:
|
|||||||
out_result = result.stdout.decode("utf-8")
|
out_result = result.stdout.decode("utf-8")
|
||||||
err_result = result.stderr.decode("utf-8")
|
err_result = result.stderr.decode("utf-8")
|
||||||
if out_result.strip() in names:
|
if out_result.strip() in names:
|
||||||
results.append(names.index(out_result.strip()))
|
results.append(f"{names.index(out_result.strip())}")
|
||||||
else:
|
else:
|
||||||
results.append(f"{out_result}{err_result}")
|
results.append(f"{out_result}{err_result}")
|
||||||
# 输出
|
# 输出
|
||||||
|
Loading…
Reference in New Issue
Block a user