mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-16 10:14:47 +03:00
Updated error message
This commit is contained in:
parent
f6df21baee
commit
c3dc5b9448
|
@ -269,7 +269,7 @@ class ImageCmsProfile:
|
|||
),
|
||||
)
|
||||
return None
|
||||
msg = f"'{self.__class__.__name__}' has no attribute '{name}'"
|
||||
msg = f"'{self.__class__.__name__}' object has no attribute '{name}'"
|
||||
raise AttributeError(msg)
|
||||
|
||||
def tobytes(self) -> bytes:
|
||||
|
|
Loading…
Reference in New Issue
Block a user