From 844bd56a5bed1293329299c8b0562558a0d2d907 Mon Sep 17 00:00:00 2001 From: Kyomotoi Date: Fri, 1 Oct 2021 08:56:42 +0800 Subject: =?UTF-8?q?=F0=9F=90=9B=E2=9A=A1=EF=B8=8F=F0=9F=94=A5=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复: - `setu`、`saucenao`搜图时失败报错 更新: - 弃用`aiohttp`,改用`httpx` 删除: - 临时删除暂未完成的`console` --- ATRI/plugins/chat/data_source.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ATRI/plugins/chat') diff --git a/ATRI/plugins/chat/data_source.py b/ATRI/plugins/chat/data_source.py index 4c3578d..a6b4220 100644 --- a/ATRI/plugins/chat/data_source.py +++ b/ATRI/plugins/chat/data_source.py @@ -12,7 +12,7 @@ from ATRI.exceptions import ReadFileError, WriteError __doc__ = """ -好像有点涩?(偏文爱,需at +好像有点涩? """ CHAT_PATH = Path(".") / "data" / "database" / "chat" @@ -37,7 +37,7 @@ class Chat(Service): file_name = "kimo.json" path = CHAT_PATH / file_name if not path.is_file(): - log.warning("未检测到闲聊词库,生成中") + log.warning("未检测到词库,生成中") data = await cls._request(KIMO_URL) try: with open(path, "w", encoding="utf-8") as w: -- cgit v1.2.3