1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-03-05 00:15:54 +01:00

Fix couple of logging errors

This commit is contained in:
2022-12-04 18:22:06 +01:00
parent 74abaf0de0
commit ef02332465
4 changed files with 5 additions and 4 deletions

View File

@@ -237,7 +237,7 @@ class HTMLInput(InputFormatPlugin):
if not os.access(link, os.R_OK):
return link_
if os.path.isdir(link):
self.log.warning(link_, 'is a link to a directory. Ignoring.')
self.log.warning('%s is a link to a directory. Ignoring.', link_)
return link_
if link not in self.added_resources:
bhref = os.path.basename(link)