From 050325bedaddf9c2c59fea3e82daf3772f453bb2 Mon Sep 17 00:00:00 2001 From: DingZQ Date: Tue, 2 May 2023 22:24:06 +0800 Subject: [PATCH] Refine --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 6e8b564..1effcf5 100644 --- a/main.py +++ b/main.py @@ -90,8 +90,8 @@ async def fastapi_export_inp(network: str) -> ChangeSet: op = cs.operations[0] # op['vertex'] = str(get_all_vertices(network)) # print(op['vertex']) - # op['scada'] = str(get_all_scada_elements(network)) - # print(op['scada']) + op['scada'] = str(get_all_scada_elements(network)) + print(op['scada']) return cs @app.post("/readinp/")