Skip to content

Commit

Permalink
merge 参数修改
Browse files Browse the repository at this point in the history
  • Loading branch information
xaoyaoo committed Dec 12, 2023
1 parent 0d58218 commit a1effea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pywxdump/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,9 @@ def run(self, args):
out_dbs.append(ret1[1])
print("-" * 32)
print(
"[-] " + f"共 {len(errors)} 个文件解密失败(可能原因:非当前登录用户数据库;非加密数据库),详见{out_path}下‘解密失败.txt’;")
"[-] " + f"警告:{len(errors)} 个文件未解密(可能原因:非当前登录用户数据库;非加密数据库),详见{out_path}下‘未解密.txt’;")
# print("; ".join([f'"{wxdbpaths[i]}"' for i in errors]))
with open(os.path.join(out_path, "解密失败.txt"), "w", encoding="utf-8") as f:
with open(os.path.join(out_path, "未解密.txt"), "w", encoding="utf-8") as f:
f.write("\n".join([f'{i}' for i in errors]))
print("=" * 32)

Expand Down

0 comments on commit a1effea

Please sign in to comment.