1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

Version bump

This commit is contained in:
Paweł Jastrzębski
2019-10-21 13:50:53 +02:00
parent 6ce0f76fe0
commit 67e913ed9e
10 changed files with 27 additions and 27 deletions

View File

@@ -358,7 +358,7 @@ class Cover:
try:
self.image.save(self.target, "JPEG", optimize=1, quality=85)
except IOError:
raise RuntimeError('Failed to process downloaded cover.')
raise RuntimeError('Failed to save cover.')
def saveToKindle(self, kindle, asin):
self.image = self.image.resize((300, 470), Image.ANTIALIAS)