From 769ab7d77cfe3d57a60ea9893f8b39a82633596d Mon Sep 17 00:00:00 2001 From: DingZQ Date: Fri, 20 Oct 2023 23:53:43 +0800 Subject: [PATCH] Refine --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 24efce8..c8e85ee 100644 --- a/main.py +++ b/main.py @@ -150,7 +150,7 @@ async def fastapi_dump_inp(network: str, inp: str) -> bool: @app.get("/runproject/", response_class = PlainTextResponse) async def fastapi_run_project(network: str) -> str: global isSimulation - if isSimulation: + if not isSimulation: result = run_project(network) isSimulation = False return result