新增-C命令可用于对任何配置文件参数进行覆盖
This commit is contained in:
@@ -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'))
|
||||
|
||||
@@ -174,7 +174,7 @@ def main(number):
|
||||
return js
|
||||
|
||||
if __name__ == "__main__" :
|
||||
config.G_conf_override['debug_mode:switch'] = True
|
||||
config.getInstance().set_override("debug_mode:switch=1")
|
||||
# print(main('ABP-888'))
|
||||
# print(main('ABP-960'))
|
||||
# print(main('ADV-R0624')) # 404
|
||||
|
||||
@@ -328,7 +328,7 @@ 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('blacked.20.05.30'))
|
||||
# print(main('AGAV-042'))
|
||||
# print(main('BANK-022'))
|
||||
|
||||
@@ -165,10 +165,11 @@ def main(number):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
config.G_conf_override['debug_mode:switch'] = True
|
||||
print(main('TM0002'))
|
||||
print(main('MD0222'))
|
||||
print(main('MD0140-2'))
|
||||
print(main('MAD039'))
|
||||
print(main('JDMY027'))
|
||||
config.getInstance().set_override("debug_mode:switch=1")
|
||||
print(main('MD0129'))
|
||||
# print(main('TM0002'))
|
||||
# print(main('MD0222'))
|
||||
# print(main('MD0140-2'))
|
||||
# print(main('MAD039'))
|
||||
# print(main('JDMY027'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user