From 383468b821d5c0f35709e00396e024b948bc81f4 Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Sun, 12 May 2024 17:19:29 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=8E=A8=E9=80=81=E5=8F=96=E6=B6=88?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E6=97=B6=E4=B8=8D=E8=AE=BF=E9=97=AE=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- campux/imbot/mgr.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/campux/imbot/mgr.py b/campux/imbot/mgr.py index 975f475..aeae463 100644 --- a/campux/imbot/mgr.py +++ b/campux/imbot/mgr.py @@ -85,14 +85,12 @@ async def send_post_cancel_notify( self, post_id: int ): - post = await self.ap.cpx_api.get_post_info(post_id) - - logger.info(f"稿件已取消:{post}") + logger.info(f"稿件已取消:{post_id}") if self.ap.config.campux_qq_group_review: msg = [ - message.MessageSegment.text(f"稿件已取消: #{post.id}"), + message.MessageSegment.text(f"稿件已取消: #{post_id}"), ] asyncio.create_task(self.ap.imbot.send_group_message(