mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-26 07:59:51 +03:00
Removed type hint
This commit is contained in:
parent
31498f3407
commit
f3363c2a72
|
@ -246,7 +246,7 @@ class ImageCmsProfile:
|
|||
self.profile = core.profile_frombytes(f.read())
|
||||
return
|
||||
self.filename = profile
|
||||
self.profile: core.CmsProfile = core.profile_open(profile)
|
||||
self.profile = core.profile_open(profile)
|
||||
elif hasattr(profile, "read"):
|
||||
self.profile = core.profile_frombytes(profile.read())
|
||||
elif isinstance(profile, core.CmsProfile):
|
||||
|
|
Loading…
Reference in New Issue
Block a user