From 98e10037510020779ae490190fec6b46da2851e0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 15 Feb 2010 10:39:58 -0700 Subject: [PATCH] ... --- src/calibre/ebooks/epub/input.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/ebooks/epub/input.py b/src/calibre/ebooks/epub/input.py index fd1e4733e1..cf903c0a5d 100644 --- a/src/calibre/ebooks/epub/input.py +++ b/src/calibre/ebooks/epub/input.py @@ -132,6 +132,8 @@ class EPUBInput(InputFormatPlugin): self.rationalize_cover(opf, log) + self.optimize_opf_parsing = opf + with open('content.opf', 'wb') as nopf: nopf.write(opf.render())