(feat:attach) pass attachments for generation

This commit is contained in:
ManishMadan2882
2025-04-02 15:14:56 +05:30
parent 4241307990
commit f235a94986
4 changed files with 58 additions and 8 deletions

View File

@@ -345,6 +345,7 @@ def attachment_worker(self, directory, file_info, user):
base_dir = os.path.join(directory, user, "attachments", folder_name)
file_path = os.path.join(base_dir, filename)
logging.info(f"Processing file: {file_path}", extra={"user": user, "job": job_name})
if not os.path.exists(file_path):