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