From 3104cacefd872ad37b14a77ea0c53f74dcde1c03 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Tue, 24 Sep 2024 23:55:20 +0800 Subject: [PATCH] reeee --- plugins/namerena.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/namerena.py b/plugins/namerena.py index 4729e82..e14d2e3 100644 --- a/plugins/namerena.py +++ b/plugins/namerena.py @@ -162,7 +162,7 @@ def run_fights(msg: ReciveMessage, client) -> None: use_bun = CONFIG_DATA["use_bun"] runner_path = root_path / "md5" / ("md5-api.ts" if use_bun else "md5-api.js") result = subprocess.run( - ["bun", "run", runner_path.absolute()] if use_bun else ["node", runner_path.absolute(), "fight"], # 调用 + ["bun", "run", runner_path.absolute(), "fight"] if use_bun else ["node", runner_path.absolute(), "fight"], # 调用 stdout=subprocess.PIPE, stderr=subprocess.PIPE, )