mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Fix importing ImageCms when Pillow was built without lcms2
This commit is contained in:
parent
8c2a823e77
commit
285b921b3c
|
@ -392,7 +392,7 @@ def get_display_profile(handle: SupportsInt | None = None) -> ImageCmsProfile |
|
|||
# --------------------------------------------------------------------.
|
||||
|
||||
_CmsProfileCompatible = Union[
|
||||
str, SupportsRead[bytes], core.CmsProfile, ImageCmsProfile
|
||||
str, SupportsRead[bytes], "core.CmsProfile", ImageCmsProfile
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user