Skip to content

Commit

Permalink
添加all命令中解密错误数据日志写入文件,修复部分bug #28 #29
Browse files Browse the repository at this point in the history
  • Loading branch information
xaoyaoo committed Nov 22, 2023
1 parent 36f0d26 commit 05ab2e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pywxdump/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ def console_run():
# 检查是否需要显示帮助信息
if len(sys.argv) == 1:
sys.argv.append('-h')
elif len(sys.argv) == 2 and sys.argv[1] in modes.keys():
elif len(sys.argv) == 2 and sys.argv[1] in modes.keys() and sys.argv[1] not in [main_all.mode, main_wx_info.mode,
main_wx_db_path.mode]:
sys.argv.append('-h')

args = parser.parse_args() # 解析命令行参数
Expand Down

0 comments on commit 05ab2e2

Please sign in to comment.