This commit is contained in:
DingZQ
2023-04-25 23:23:22 +08:00
parent c3cd69010b
commit 23cc2b2df5

View File

@@ -78,10 +78,7 @@ async def fastapi_import_inp(network: str, req: Request):
jo_root = await req.json() jo_root = await req.json()
inp_text = jo_root['inp'] inp_text = jo_root['inp']
ps = { ps = {
"inp" : inp_text, "inp" : inp_text
"tags" : "",
"vertices" : "",
"scadas" : "",
} }
ret = import_inp(network, ChangeSet(ps)) ret = import_inp(network, ChangeSet(ps))
print(ret) print(ret)