X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/5c8dc23489cec14f405a7cf8aef9d68384762571..e83700268c9184ee4d3851ccba463e1166927e19:/librarian/epub.py?ds=inline diff --git a/librarian/epub.py b/librarian/epub.py index 2da6b31..c92de3c 100644 --- a/librarian/epub.py +++ b/librarian/epub.py @@ -549,7 +549,7 @@ def transform(wldoc, verbose=False, subprocess.check_call(optimizer_call, stdout=subprocess.PIPE, stderr=subprocess.PIPE) zip.write(os.path.join(tmpdir, fname), os.path.join('OPS', fname)) manifest.append(etree.fromstring( - '' % (fname, fname))) + '' % (fname, fname))) rmtree(tmpdir) if cwd is not None: os.chdir(cwd)