Skip to content

Commit

Permalink
PB-227: Fix error from updating pillow
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasJoss committed Sep 9, 2024
1 parent 60246c4 commit 3e97082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def colorized_icon(
image = image.convert('RGBA')
if scale != 1:
new_size = map(lambda s: int(s * scale), icon.get_size())
image = image.resize(new_size)
image = image.resize(tuple(new_size))
if icon_set.colorable:
image = Image.composite(Image.new("RGB", image.size, (red, green, blue)), image, image)
output = BytesIO()
Expand Down

0 comments on commit 3e97082

Please sign in to comment.