diff --git a/src/xfel_calibrate/finalize.py b/src/xfel_calibrate/finalize.py index ed6f36fe049aba57a92a79610c8759e9b2b3b6cb..ba24bb226c0f2910c6e48f1c83058f2a596a44ed 100644 --- a/src/xfel_calibrate/finalize.py +++ b/src/xfel_calibrate/finalize.py @@ -235,7 +235,7 @@ def make_report(run_path: Path, tmp_path: Path, project: str, "--ext-intersphinx", "--ext-mathjax", "--makefile", - "--no-batchfile", run_path]) + "--no-batchfile", run_path], input=b'') except CalledProcessError: raise Exception("Failed to run sphinx-quickstart. Is sphinx installed?" @@ -317,7 +317,7 @@ def make_report(run_path: Path, tmp_path: Path, project: str, chdir(run_path) try: check_call(["make", f"SPHINXBUILD={sys.executable} -m sphinx", - "latexpdf"]) + "latexpdf"], input=b'') except CalledProcessError: print("Failed to make pdf documentation")