Loading generateBaseline/postprocessing.py +1 −1 Original line number Diff line number Diff line Loading @@ -145,7 +145,7 @@ def refresh_docx_fields(input_path: str, image: str = "docx-field-refresh") -> s # Then run post-processing command in the same container soffice_cmd = f"soffice --headless --convert-to docx --outdir /data {input_path}" # TODO: Add post-processing command here post_cmd = f'chown $(stat -c "%u:%g" {input_path}) {input_path.name}' post_cmd = f'chown $(stat -c "%u:%g" /data/{input_path}) /data/{input_path.name}' # combined_cmd = f"{soffice_cmd} && {post_cmd}" combined_cmd = f"{soffice_cmd} && {post_cmd}" Loading Loading
generateBaseline/postprocessing.py +1 −1 Original line number Diff line number Diff line Loading @@ -145,7 +145,7 @@ def refresh_docx_fields(input_path: str, image: str = "docx-field-refresh") -> s # Then run post-processing command in the same container soffice_cmd = f"soffice --headless --convert-to docx --outdir /data {input_path}" # TODO: Add post-processing command here post_cmd = f'chown $(stat -c "%u:%g" {input_path}) {input_path.name}' post_cmd = f'chown $(stat -c "%u:%g" /data/{input_path}) /data/{input_path.name}' # combined_cmd = f"{soffice_cmd} && {post_cmd}" combined_cmd = f"{soffice_cmd} && {post_cmd}" Loading