Move preview error handling to mediapreview.

This commit is contained in:
2026-08-13 04:29:25 +00:00
parent 226f96c477
commit 0c9fe7638c
3 changed files with 20 additions and 73 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ def configure() -> None:
)
def setup_docker(confdir: Path | None = None) -> int:
def setup_docker(confdir: Path | None = None) -> str:
"""Build and run the patched OnlyOffice Docker image (via mediapreview)."""
if confdir is not None:
os.environ["CISTA_HOME"] = confdir.as_posix()