mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-01 20:03:06 +02:00
...
This commit is contained in:
parent
1c5b48e2fd
commit
98e1003751
1 changed files with 2 additions and 0 deletions
|
|
@ -132,6 +132,8 @@ def convert(self, stream, options, file_ext, log, accelerators):
|
|||
|
||||
self.rationalize_cover(opf, log)
|
||||
|
||||
self.optimize_opf_parsing = opf
|
||||
|
||||
with open('content.opf', 'wb') as nopf:
|
||||
nopf.write(opf.render())
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue