mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Variable in function should be snake_case
This commit is contained in:
parent
280b4e9e1a
commit
e4b39d9cc7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user