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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user