From 341388781011c84a974ae6d48c3aa43964e809bc Mon Sep 17 00:00:00 2001 From: xaoyaoo Date: Wed, 29 Nov 2023 21:00:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BC=82=E6=80=A7wxid?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=96=B9=E5=BC=8F=EF=BC=8C=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=B7=AF=E5=BE=84=E8=87=AA=E5=8A=A8=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=20#33?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pywxdump/wx_info/get_wx_info.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pywxdump/wx_info/get_wx_info.py b/pywxdump/wx_info/get_wx_info.py index 2ddf800..4430979 100644 --- a/pywxdump/wx_info/get_wx_info.py +++ b/pywxdump/wx_info/get_wx_info.py @@ -88,9 +88,10 @@ def get_info_filePath(wxid): else: msg_dir = os.path.join(w_dir, "WeChat Files") - if not os.path.exists(msg_dir): + filePath = os.path.join(msg_dir, wxid) + if not os.path.exists(filePath): return "None" - return os.path.join(msg_dir, wxid) + return filePath # 读取内存中的key