mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
1c5b48e2fd
commit
98e1003751
@ -132,6 +132,8 @@ class EPUBInput(InputFormatPlugin):
|
|||||||
|
|
||||||
self.rationalize_cover(opf, log)
|
self.rationalize_cover(opf, log)
|
||||||
|
|
||||||
|
self.optimize_opf_parsing = opf
|
||||||
|
|
||||||
with open('content.opf', 'wb') as nopf:
|
with open('content.opf', 'wb') as nopf:
|
||||||
nopf.write(opf.render())
|
nopf.write(opf.render())
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user