ADD: Add error code test
This commit is contained in:
parent
ca8c28c252
commit
4cfb891eba
2
main.py
2
main.py
|
@ -10,7 +10,7 @@ parser = argparse.ArgumentParser()
|
|||
parser.add_argument('-config',help='')
|
||||
args = parser.parse_args()
|
||||
|
||||
with open(f'/usr/local/sdt/app/{args.config}/config.json', encoding='UTF-8') as f:
|
||||
iwith open(f'/usr/local/sdt/app/{args.config}/config.json', encoding='UTF-8') as f:
|
||||
# with open(f'./config.json', encoding='UTF-8') as f:
|
||||
jsonData = json.load(f)
|
||||
|
||||
|
|
Loading…
Reference in New Issue