1
0
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:
2021-06-22 22:06:09 +02:00
parent 546cc26652
commit 84abd62a61
18 changed files with 39 additions and 58 deletions
@@ -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))