Skip to content

Commit

Permalink
yapf
Browse files Browse the repository at this point in the history
  • Loading branch information
hacktobeer committed Aug 7, 2024
1 parent ee2ee99 commit 5f14c21
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions turbinia/api/routes/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
log = logging.getLogger(__name__)
router = APIRouter(prefix='/download', tags=['Turbinia Download'])


@router.get('/output/{file_path:path}')
async def download_file_path(request: Request, file_path):
"""Downloads evidence file path.
Expand All @@ -45,6 +46,3 @@ async def download_file_path(request: Request, file_path):

raise HTTPException(
status_code=404, detail='Access denied or file not found!')



0 comments on commit 5f14c21

Please sign in to comment.