Print result

This commit is contained in:
DingZQ
2022-11-25 09:54:25 +08:00
parent 2a470446b5
commit 407f8eaf99

View File

@@ -80,7 +80,9 @@ async def fastapi_dump_inp(network: str, inp: str) -> None:
@app.get("/runproject/")
async def fastapi_run_project(network: str) -> str:
return run_project(network)
result = run_project(network)
print(result)
return result
# put in inp folder, name without extension
@app.get("/runinp/")