新增-C命令可用于对任何配置文件参数进行覆盖

This commit is contained in:
lededev
2022-04-16 19:31:24 +08:00
parent f59d3505a8
commit 0e0b92a9fa
6 changed files with 125 additions and 102 deletions

View File

@@ -157,6 +157,6 @@ def main(number):
# main('DV-1562')
# input("[+][+]Press enter key exit, you can check the error messge before you exit.\n[+][+]按回车键结束,你可以在结束之前查看和错误信息。")
if __name__ == "__main__":
config.G_conf_override["debug_mode:switch"] = True
config.getInstance().set_override("debug_mode:switch=1")
print(main('VJ013178'))
print(main('RJ329607'))