Commit 7e72ac5e authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

fix

parent ed9ba29e
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -145,6 +145,7 @@ def refresh_docx_fields(input_path: str, image: str = "docx-field-refresh") -> s
            "docker", "run", "--rm",
            "-v", f"{tmpdir_path}:/data",
            "-u", f"{os.getuid()}:{os.getgid()}",  # <--- run as host user
            "-e", "HOME=/tmp",  # 👈 Tell LibreOffice to use /tmp for its profile
            image,
            "--headless",
            "--convert-to", "docx",