From 77bc6fbf599649546df1bc60aa8e10715e2febe7 Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Mon, 15 Jan 2024 21:44:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(list):=20=E5=88=97=E5=87=BA=E4=B8=8D?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E7=9A=84=E9=A1=B5=E6=97=B6=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/qqbot/cmds/session/list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/qqbot/cmds/session/list.py b/pkg/qqbot/cmds/session/list.py index e40fb7fb..56fa4569 100644 --- a/pkg/qqbot/cmds/session/list.py +++ b/pkg/qqbot/cmds/session/list.py @@ -31,7 +31,7 @@ def process(cls, ctx: aamgr.Context) -> tuple[bool, list]: results = pkg.openai.session.get_session(session_name).list_history(page=page) if len(results) == 0: - reply = ["[bot]第{}页没有历史会话".format(page)] + reply_str = "[bot]第{}页没有历史会话".format(page) else: reply_str = "[bot]历史会话 第{}页:\n".format(page) current = -1