From 29237ad857fdbe15e328a13ad8805fbe4ce55d6a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 19 Dec 2013 14:21:39 +0530 Subject: [PATCH] Use the log passed in rather than the default log --- src/calibre/ebooks/oeb/polish/container.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/ebooks/oeb/polish/container.py b/src/calibre/ebooks/oeb/polish/container.py index 6d040548b2..34cfc12179 100644 --- a/src/calibre/ebooks/oeb/polish/container.py +++ b/src/calibre/ebooks/oeb/polish/container.py @@ -1012,9 +1012,9 @@ def opf_to_azw3(opf, outpath, log): inp = plugin_for_input_format('azw3') outp = plugin_for_output_format('azw3') plumber.opts.mobi_passthrough = True - oeb = create_oebbook(default_log, opf, plumber.opts) + oeb = create_oebbook(log, opf, plumber.opts) set_cover(oeb) - outp.convert(oeb, outpath, inp, plumber.opts, default_log) + outp.convert(oeb, outpath, inp, plumber.opts, log) class AZW3Container(Container):