mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-04-24 15:11:30 +02:00
Re added (probably) right formating codes.
This commit is contained in:
@@ -60,7 +60,7 @@ class RescaleImages(object):
|
||||
if scaled:
|
||||
new_width = max(1, new_width)
|
||||
new_height = max(1, new_height)
|
||||
self.log('Rescaling image from %sx%s to %sx%s %s', width,
|
||||
self.log('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))
|
||||
|
||||
Reference in New Issue
Block a user