Updated error message

This commit is contained in:
Andrew Murray 2025-07-13 15:45:47 +10:00 committed by Andrew Murray
parent f6df21baee
commit c3dc5b9448

View File

@ -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: