This commit is contained in:
YujinChu 2023-09-08 07:17:36 +00:00
parent 813a5629f8
commit 0dc77ad175
1 changed files with 4 additions and 2 deletions

View File

@ -43,7 +43,8 @@ ROOT_PATH = f"/usr/local/sdt/app/{args.config}"
# JSON FILE READ # # JSON FILE READ #
############################################################################### ###############################################################################
with open(f"{args.config}/connect_info.json","r") as f: with open(f"{ROOT_PATH}/connect_info.json","r") as f:
#with open(f"{args.config}/connect_info.json","r") as f:
info = json.load(f) info = json.load(f)
@ -53,7 +54,8 @@ with open(f"{args.config}/connect_info.json","r") as f:
with open(f"{args.config}/config.json","r") as f: with open(f"{ROOT_PATH}/config.json","r") as f:
#with open(f"{args.config}/config.json","r") as f:
data = json.load(f) data = json.load(f)
print(data) print(data)