Skip to content

Commit 80904a0

Browse files
committed
fix#462: default cropper cropped result is not returnned
1 parent 227eef1 commit 80904a0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

javsp/cropper/interface.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@ def crop_specific(self, fanart: Image, ratio: float) -> Image:
2121

2222
dh = int((fanart_h - poster_h) / 2)
2323
box = (fanart_w - poster_w, dh, fanart_w, poster_h + dh)
24-
fanart.crop(box)
25-
return fanart
24+
return fanart.crop(box)

0 commit comments

Comments
 (0)