1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-23 14:41:30 +02:00

Fix leftovers from logger transition

This commit is contained in:
2021-06-24 20:47:25 +02:00
parent ecacc8a2a2
commit 47d9fda3b0
2 changed files with 5 additions and 4 deletions
@@ -60,8 +60,9 @@ class RescaleImages(object):
if scaled:
new_width = max(1, new_width)
new_height = max(1, new_height)
self.log('Rescaling image from %dx%d to %dx%d %s', width,
height, new_width, new_height, item.href)
self.log.info('Rescaling image from %dx%d to %dx%d %s',
width, height, new_width, new_height,
item.href)
try:
img = img.resize((new_width, new_height))
except Exception: