(fix/attach): inputs are created in application

This commit is contained in:
ManishMadan2882
2025-04-02 16:36:58 +05:30
parent 72bbe3b1ce
commit 19d68252cd
2 changed files with 6 additions and 9 deletions

View File

@@ -342,8 +342,7 @@ def attachment_worker(self, directory, file_info, user):
folder_name = file_info["folder"]
filename = file_info["filename"]
base_dir = os.path.join(directory, user, "attachments", folder_name)
file_path = os.path.join(base_dir, filename)
file_path = os.path.join(directory, filename)
logging.info(f"Processing file: {file_path}", extra={"user": user, "job": job_name})