Changing logging module location.
This commit is contained in:
1 parent
b574357c2c
commit
3f57198f91
10 files changed
+41
-30
No files matched your search
@@ -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