Skip to content

Commit 99578f8

Browse files
authored
Fix bug where max_cover_with doesnt work (#589)
* Fix bug where max_cover_with doesnt work * Remove log
1 parent c2b4c38 commit 99578f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

streamrip/media/artwork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def downscale_image(input_image_path: str, max_dimension: int):
131131
# Get the original width and height
132132
width, height = image.size
133133

134-
if max_dimension <= max(width, height):
134+
if max_dimension >= max(width, height):
135135
return
136136

137137
# Calculate the new dimensions while maintaining the aspect ratio

0 commit comments

Comments
 (0)