From ef4660897466907a3f8de5962e46e31ee3fec4fb Mon Sep 17 00:00:00 2001 From: Yay295 Date: Mon, 23 Oct 2023 19:26:08 -0500 Subject: [PATCH] add mode to error message --- src/PIL/ImageOps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)