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)