fix
This commit is contained in:
parent
1d59264ef6
commit
12a1074b48
@ -198,9 +198,9 @@ class MainShowChatRecords():
|
|||||||
|
|
||||||
def run(self, args):
|
def run(self, args):
|
||||||
print(f"[*] PyWxDump v{pywxdump.__version__}")
|
print(f"[*] PyWxDump v{pywxdump.__version__}")
|
||||||
# merge和(msg_path,micro_path,media_path) 二选一
|
# (merge)和(msg_path,micro_path,media_path) 二选一
|
||||||
if (not args.merge_path) or (not args.msg_path and not args.micro_path and not args.media_path):
|
if not args.merge_path and not (args.msg_path and args.micro_path and args.media_path):
|
||||||
print("[-] 请输入数据库路径([merge_path] or [msg_path,micro_path,media_path])")
|
print("[-] 请输入数据库路径([merge_path] or [msg_path, micro_path, media_path])")
|
||||||
return
|
return
|
||||||
|
|
||||||
# 从命令行参数获取值
|
# 从命令行参数获取值
|
||||||
@ -220,7 +220,6 @@ class MainShowChatRecords():
|
|||||||
|
|
||||||
if not os.path.exists(args.msg_path) or not os.path.exists(args.micro_path) or not os.path.exists(
|
if not os.path.exists(args.msg_path) or not os.path.exists(args.micro_path) or not os.path.exists(
|
||||||
args.media_path):
|
args.media_path):
|
||||||
print(os.path.exists(args.msg_path), os.path.exists(args.micro_path), os.path.exists(args.media_path))
|
|
||||||
print("[-] 输入数据库路径不存在")
|
print("[-] 输入数据库路径不存在")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user