From 6f22063a7283ac809e616e82c32f888143397b9f Mon Sep 17 00:00:00 2001 From: DingZQ Date: Fri, 27 Oct 2023 21:12:32 +0800 Subject: [PATCH] Refine --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 611abdf..c517ef2 100644 --- a/main.py +++ b/main.py @@ -159,7 +159,7 @@ async def fastapi_run_project(network: str) -> str: raise HTTPException(status_code=409, detail="is in simulation") else: print('file doesnt exists') - f = open(filename, "w") + f = open(filename, "a") f.write("locksimulaiton") f.close() result = run_project(network)