添加异性wxid获取方式,添加用户路径自动获取 #33

This commit is contained in:
xaoyaoo 2023-11-29 21:00:43 +08:00
parent c6bbd09f72
commit 3413887810

View File

@ -88,9 +88,10 @@ def get_info_filePath(wxid):
else: else:
msg_dir = os.path.join(w_dir, "WeChat Files") 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 "None"
return os.path.join(msg_dir, wxid) return filePath
# 读取内存中的key # 读取内存中的key