X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/5c8dc23489cec14f405a7cf8aef9d68384762571..0ea2e1a6b93249623fe31bd6992d7d0a75eb5b39:/librarian/epub.py 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)