Loading generateBaseline/postprocessing.py +1 −1 Original line number Diff line number Diff line Loading @@ -149,7 +149,7 @@ def refresh_docx_fields(input_path: str, image: str = "docx-field-refresh") -> s # If file is at /data/file.docx, relative path is file.docx try: relative_path = input_path.relative_to(mount_point) file_path_in_container = f"/data/{relative_path}" file_path_in_container = f"/data/{input_path.parent.name}/{input_path.name}" except ValueError: # If file is not under /data, use just the filename file_path_in_container = f"/data/{input_path.name}" Loading Loading
generateBaseline/postprocessing.py +1 −1 Original line number Diff line number Diff line Loading @@ -149,7 +149,7 @@ def refresh_docx_fields(input_path: str, image: str = "docx-field-refresh") -> s # If file is at /data/file.docx, relative path is file.docx try: relative_path = input_path.relative_to(mount_point) file_path_in_container = f"/data/{relative_path}" file_path_in_container = f"/data/{input_path.parent.name}/{input_path.name}" except ValueError: # If file is not under /data, use just the filename file_path_in_container = f"/data/{input_path.name}" Loading