1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-03-02 06:35:47 +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

@@ -55,8 +55,8 @@ class HTMLZInput(InputFormatPlugin):
# HTMLZ archive probably won't turn out as the user expects. With
# Multiple HTML files ZIP input should be used in place of HTMLZ.
if multiple_html:
log.warn('Multiple HTML files found in the archive. Only %s will '
'be used.' % index)
log.warning('Multiple HTML files found in the archive. Only %s '
'will be used.', index)
if index:
with open(index, 'rb') as tf: