mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
Remove temporary print
This commit is contained in:
parent
ce2955ec71
commit
b7e5c27696
|
@ -2111,7 +2111,6 @@ def _compression_bomb_check(im, maximum_pixels):
|
||||||
return
|
return
|
||||||
|
|
||||||
pixels = im.size[0] * im.size[1]
|
pixels = im.size[0] * im.size[1]
|
||||||
print("Pixels:", pixels) # FIXME: temporary
|
|
||||||
|
|
||||||
if im.size[0] * im.size[1] > maximum_pixels:
|
if im.size[0] * im.size[1] > maximum_pixels:
|
||||||
raise ImageIsTooBigError("Image size exceeds limit")
|
raise ImageIsTooBigError("Image size exceeds limit")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user