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