mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
e054082d9f
commit
01b24803ce
@ -57,6 +57,8 @@ class RescaleImages(object):
|
|||||||
try:
|
try:
|
||||||
img.size = (new_width, new_height)
|
img.size = (new_width, new_height)
|
||||||
data = img.export(ext.lower())
|
data = img.export(ext.lower())
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
raise
|
||||||
except:
|
except:
|
||||||
self.log.exception('Failed to rescale image')
|
self.log.exception('Failed to rescale image')
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user