diff --git a/main.py b/main.py index 74877cb..ffe54dc 100644 --- a/main.py +++ b/main.py @@ -1920,7 +1920,7 @@ async def upload_inp(afile: bytes, name: str ): return True @app.get("/downloadinp/", status_code=status.HTTP_200_OK) -async def download_name: str, response: Response): +async def download_inp(name: str, response: Response): filePath = inpDir + name if os.path.exists(filePath): return FileResponse(filePath, media_type='application/octet-stream', filename="inp.inp")