use format string instead of concatenation

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Yay295 2023-10-23 21:46:54 -05:00 committed by GitHub
parent ef46608974
commit 6ddf10c747
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ def _lut(image, lut):
lut = lut + lut + lut
return image.point(lut)
else:
msg = "not supported for image mode " + image.mode
msg = f"not supported for mode {image.mode}"
raise OSError(msg)