diff --git a/src/PIL/ImageOps.py b/src/PIL/ImageOps.py index 6d70f02483d..bd6e01c9fe1 100644 --- a/src/PIL/ImageOps.py +++ b/src/PIL/ImageOps.py @@ -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)