1
0
mirror of https://github.com/ciromattia/kcc synced 2026-07-04 03:55:28 +00:00

fix crash in smart cover crop for landscape covers (#1379)

This commit is contained in:
sa-mi
2026-07-01 21:30:08 -07:00
committed by GitHub
parent 363a36a764
commit 544e866b51
+1 -1
View File
@@ -648,7 +648,7 @@ class Cover:
if self.options.righttoleft:
self.image = self.image.crop((w * .36, 0, w, h))
else:
self.image = self.image.crop((w, 0, .64 * w, h))
self.image = self.image.crop((0, 0, .64 * w, h))
def save_to_folder(self, target, tomeid, len_tomes=0):
try: