Python3 fix

This commit is contained in:
Alexander 2018-03-29 17:37:00 +03:00
parent 622749530b
commit 7f0bbf52e3

View File

@ -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.")