fix: fix function compatibility

This commit is contained in:
Zheng Huang 2024-05-22 13:19:51 +08:00
parent 45bc146f9c
commit 10e62bb88c

View File

@ -299,7 +299,7 @@ def merge_db(db_paths, save_path="merge.db", CreateTime: int = 0, endCreateTime:
return save_path
def decrypt_merge(wx_path, key, outpath="", db_type: list[str] = [], CreateTime: int = 0, endCreateTime: int = 0) -> (bool, str):
def decrypt_merge(wx_path, key, outpath="", CreateTime: int = 0, endCreateTime: int = 0, db_type: list[str] = []) -> (bool, str):
"""
解密合并数据库 msg.db, microMsg.db, media.db,注意会删除原数据库
:param wx_path: 微信路径 eg: C:\*******\WeChat Files\wxid_*********