fix: 输出!list时错误的字符删除

This commit is contained in:
Rock Chin
2022-12-19 22:47:20 +08:00
parent 410c56c396
commit 7479c34621
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -264,5 +264,4 @@ class Session:
def list_history(self, capacity: int = 10, page: int = 0):
return pkg.database.manager.get_inst().list_history(self.name, capacity, page,
(self.user_name + ":" + get_default_prompt() + "\n" +
self.bot_name + ":") if get_default_prompt() != "" else "")
get_default_prompt())