From: Robert BÅ‚aut Date: Wed, 15 Jan 2014 21:49:00 +0000 (+0100) Subject: Fix for incorrect .ttf MIME type X-Git-Tag: 1.7~104^2~30 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/e741f082e5b4122a5fa0f2c992f3519e573a8c7b?hp=660b341720c5844ad3fe5fd1f4734af67eb34d76 Fix for incorrect .ttf MIME type --- 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)