mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	use format string instead of concatenation
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									ef46608974
								
							
						
					
					
						commit
						6ddf10c747
					
				|  | @ -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) | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user