From c0a4a5ad74db058888b2212187f2562fa731b294 Mon Sep 17 00:00:00 2001 From: justundertaker <806792561@qq.com> Date: Fri, 18 Nov 2022 11:15:01 +0800 Subject: [PATCH 1/3] =?UTF-8?q?:bug:=20fix=20#8=20=E6=B8=85=E7=90=86?= =?UTF-8?q?=E8=A7=A3=E5=AF=86=E5=9B=BE=E7=89=87=E8=B7=AF=E5=BE=84=E4=B8=8D?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ntchat_client/wechat/image_decode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntchat_client/wechat/image_decode.py b/ntchat_client/wechat/image_decode.py index cca0de5..6d3279a 100644 --- a/ntchat_client/wechat/image_decode.py +++ b/ntchat_client/wechat/image_decode.py @@ -77,7 +77,7 @@ def decode_file(self, image_file: Path, is_thumb: bool) -> Optional[str]: def scheduler_image_job(config: Config) -> None: """定时清理""" - path = Path(config.cache_path) + path = Path(config.image_path) days = timedelta(days=config.cache_days) if days == 0: return From fe72918ad6f0dfbfbe7c8989788fe523efb5981e Mon Sep 17 00:00:00 2001 From: justundertaker <806792561@qq.com> Date: Thu, 24 Nov 2022 12:19:20 +0800 Subject: [PATCH 2/3] =?UTF-8?q?:pencil:=E6=9B=B4=E6=96=B0=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c7a38a..0b489b0 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@