There was an error while loading. Please reload this page.
1 parent 78e54c1 commit 01e0b00Copy full SHA for 01e0b00
src/PIL/ImageCms.py
@@ -262,7 +262,7 @@ def __getattr__(self, name: str) -> Any:
262
if name in ("product_name", "product_info"):
263
deprecate(f"ImageCms.ImageCmsProfile.{name}", 13)
264
return None
265
- msg = f"'{self.__class__.__name__}' has no attribute '{name}'"
+ msg = f"'{self.__class__.__name__}' object has no attribute '{name}'"
266
raise AttributeError(msg)
267
268
def tobytes(self) -> bytes:
0 commit comments