mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-04 15:04:47 +01:00
Use actual logger in oeb2lit.
This commit is contained in:
parent
39e7031670
commit
d415091485
1 changed files with 1 additions and 1 deletions
|
|
@ -731,7 +731,7 @@ def oeb2lit(opts, opfpath):
|
|||
litpath = os.path.basename(opfpath)
|
||||
litpath = os.path.splitext(litpath)[0] + '.lit'
|
||||
litpath = os.path.abspath(litpath)
|
||||
lit = LitWriter(OEBBook(opfpath))
|
||||
lit = LitWriter(OEBBook(opfpath, logger=logger), logger=logger)
|
||||
with open(litpath, 'wb') as f:
|
||||
lit.dump(f)
|
||||
logger.log_info(_('Output written to ')+litpath)
|
||||
|
|
|
|||
Loading…
Reference in a new issue