mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use the log passed in rather than the default log
This commit is contained in:
parent
d1023efd1e
commit
29237ad857
@ -1012,9 +1012,9 @@ def opf_to_azw3(opf, outpath, log):
|
|||||||
inp = plugin_for_input_format('azw3')
|
inp = plugin_for_input_format('azw3')
|
||||||
outp = plugin_for_output_format('azw3')
|
outp = plugin_for_output_format('azw3')
|
||||||
plumber.opts.mobi_passthrough = True
|
plumber.opts.mobi_passthrough = True
|
||||||
oeb = create_oebbook(default_log, opf, plumber.opts)
|
oeb = create_oebbook(log, opf, plumber.opts)
|
||||||
set_cover(oeb)
|
set_cover(oeb)
|
||||||
outp.convert(oeb, outpath, inp, plumber.opts, default_log)
|
outp.convert(oeb, outpath, inp, plumber.opts, log)
|
||||||
|
|
||||||
|
|
||||||
class AZW3Container(Container):
|
class AZW3Container(Container):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user