From e741f082e5b4122a5fa0f2c992f3519e573a8c7b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Robert=20B=C5=82aut?= Date: Wed, 15 Jan 2014 22:49:00 +0100 Subject: [PATCH 1/1] Fix for incorrect .ttf MIME type --- librarian/epub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1