mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-26 08:40:36 +03:00
Python3 fix
This commit is contained in:
parent
622749530b
commit
7f0bbf52e3
|
@ -355,7 +355,7 @@ class Color3DLUT(MultibandFilter):
|
|||
"tuple of three integers.")
|
||||
except TypeError:
|
||||
size = (size, size, size)
|
||||
size = map(int, size)
|
||||
size = [int(x) for x in size]
|
||||
for size1D in size:
|
||||
if not 2 <= size1D <= 65:
|
||||
raise ValueError("Size should be in [2, 65] range.")
|
||||
|
|
Loading…
Reference in New Issue
Block a user