X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/5c8dc23489cec14f405a7cf8aef9d68384762571..8fcab6b0a377deb7b2a143caf4af084bf6cd7a68:/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)