Variable in function should be snake_case

This commit is contained in:
Andrew Murray 2022-04-16 22:15:48 +10:00
parent 280b4e9e1a
commit e4b39d9cc7

View File

@ -421,8 +421,8 @@ class Color3DLUT(MultibandFilter):
except TypeError:
size = (size, size, size)
size = [int(x) for x in size]
for size1D in size:
if not 2 <= size1D <= 65:
for size_1d in size:
if not 2 <= size_1d <= 65:
raise ValueError("Size should be in [2, 65] range.")
return size