This commit is contained in:
Kovid Goyal 2009-05-02 12:42:50 -07:00
parent dc0e0f26a1
commit 7d15d42ec0

View File

@ -668,7 +668,7 @@ def create_oebbook(log, path_or_stream, opts, input_plugin, reader=None):
from calibre.ebooks.oeb.base import OEBBook
html_preprocessor = HTMLPreProcessor(input_plugin.preprocess_html,
opts.preprocess_html)
oeb = OEBBook(log, html_preprocessor=html_preprocessor,
oeb = OEBBook(log, html_preprocessor,
pretty_print=opts.pretty_print)
# Read OEB Book into OEBBook
log('Parsing all content...')