mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-03-26 20:43:32 +01:00
Changing logging module location.
This commit is contained in:
@@ -4,10 +4,13 @@ import io
|
||||
import numbers
|
||||
import zlib
|
||||
|
||||
from ebook_converter.utils.logging import default_log
|
||||
from ebook_converter import logging
|
||||
from ebook_converter import polyglot
|
||||
|
||||
|
||||
LOG = logging.default_log
|
||||
|
||||
|
||||
pdf_float = lambda x: f"{x:.1f}"
|
||||
|
||||
EOL = b'\n'
|
||||
@@ -234,7 +237,7 @@ class Reference(object):
|
||||
def current_log(newlog=None):
|
||||
if newlog:
|
||||
current_log.ans = newlog
|
||||
return current_log.ans or default_log
|
||||
return current_log.ans or LOG
|
||||
|
||||
|
||||
current_log.ans = None
|
||||
|
||||
Reference in New Issue
Block a user