mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
add mode to error message
This commit is contained in:
parent
d05ff5059f
commit
ef46608974
|
@ -56,7 +56,7 @@ def _lut(image, lut):
|
|||
lut = lut + lut + lut
|
||||
return image.point(lut)
|
||||
else:
|
||||
msg = "not supported for this image mode"
|
||||
msg = "not supported for image mode " + image.mode
|
||||
raise OSError(msg)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user