1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-03-07 18:15:46 +01:00

Changing logging module location.

This commit is contained in:
2021-06-28 22:02:41 +02:00
parent b574357c2c
commit 3f57198f91
10 changed files with 41 additions and 30 deletions

View File

@@ -260,8 +260,9 @@ if __name__ == '__main__':
opts.output_profile = HanlinV3Output(None)
html_preprocessor = HTMLPreProcessor(None, None, opts)
from ebook_converter.utils.logging import default_log
oeb = OEBBook(default_log, html_preprocessor)
from ebook_converter import logging
oeb = OEBBook(logging.default_log, html_preprocessor)
reader = OEBReader
reader()(oeb, '/tmp/bbb/processed/')
SNBOutput(None).convert(oeb, '/tmp/test.snb', None, None, default_log)
SNBOutput(None).convert(oeb, '/tmp/test.snb', None, None,
logging.default_log)