From 975980e65c45e43349e6ff10d8913e54991a5e02 Mon Sep 17 00:00:00 2001 From: MAJDOUB Adnane <52354033+AdnaneMaj@users.noreply.github.com> Date: Sun, 20 Oct 2024 12:04:15 +0100 Subject: [PATCH] Update data.py The line 47 contains : project_dir_path = ProjectController().get_project_path(project_id) but the variable project_dir_path isn't used anywhere --- src/routes/data.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/routes/data.py b/src/routes/data.py index deadd4b..fd35d33 100644 --- a/src/routes/data.py +++ b/src/routes/data.py @@ -44,7 +44,6 @@ async def upload_data(request: Request, project_id: str, file: UploadFile, } ) - project_dir_path = ProjectController().get_project_path(project_id=project_id) file_path, file_id = data_controller.generate_unique_filepath( orig_file_name=file.filename, project_id=project_id