check ok
This commit is contained in:
parent
813a5629f8
commit
0dc77ad175
|
@ -43,7 +43,8 @@ ROOT_PATH = f"/usr/local/sdt/app/{args.config}"
|
|||
# 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)
|
||||
|
||||
|
||||
|
@ -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)
|
||||
|
||||
print(data)
|
||||
|
|
Loading…
Reference in New Issue