From 64dd2d4ad26e3c5b6a545e54bd0516b6d88cfc8d Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Thu, 22 Feb 2024 21:06:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DsyntaxError?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ica-rs/plugins/bmcl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ica-rs/plugins/bmcl.py b/ica-rs/plugins/bmcl.py index 52c84ac..bcc3294 100644 --- a/ica-rs/plugins/bmcl.py +++ b/ica-rs/plugins/bmcl.py @@ -159,7 +159,8 @@ def bmcl_rank(msg: NewMessage, client: IcaClient, name: Optional[str]) -> None: f"h/d {format_hit_count(rank['rank']['hits'])}|{format_data_size(rank['rank']['bytes'])}" ) rank_msgs.append(rank_msg) - report_msg = f"OpenBMCLAPI 面板v{_version_}-排名\n{'\n'.join(rank_msgs)}\n" + rank_msgs = "\n".join(rank_msgs) + report_msg = f"OpenBMCLAPI 面板v{_version_}-排名\n{rank_msgs}\n" reply = msg.reply_with(report_msg) client.info(report_msg) client.send_message(reply)