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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user