From e601392a29b2f4a9a2b3d1bf2b794bb7c66065c9 Mon Sep 17 00:00:00 2001 From: Christian Krakau-Louis Date: Tue, 11 Feb 2025 23:13:14 +0100 Subject: [PATCH] Fixed directory default for processing --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 95621816..c6413f05 100644 --- a/app/main.py +++ b/app/main.py @@ -23,7 +23,7 @@ def process(file_path: str): # If file_path is not absolute, treat it as relative to settings.workdir. if not os.path.isabs(file_path): - file_path = os.path.join(settings.workdir, 'processed', file_path) + file_path = os.path.join(settings.workdir, file_path) if not os.path.exists(file_path): raise HTTPException(status_code=400, detail=f"File {file_path} not found.")