1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-03-28 22:53:43 +01:00

Next portion of logging adapt.

This commit is contained in:
2021-06-24 19:42:51 +02:00
parent 84abd62a61
commit 6dfcaea2dd
20 changed files with 105 additions and 122 deletions

View File

@@ -197,9 +197,9 @@ class InputFormatPlugin(Plugin):
def __call__(self, stream, options, file_ext, log,
accelerators, output_dir):
try:
log('InputFormatPlugin: %s running'%self.name)
log.info('InputFormatPlugin: %s running', self.name)
if hasattr(stream, 'name'):
log('on', stream.name)
log.info('on: %s', stream.name)
except:
# In case stdout is broken
pass