mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Removed duplicate code
This commit is contained in:
parent
a405e8406b
commit
91b69857c7
|
@ -185,12 +185,8 @@ class ImageCmsProfile:
|
|||
def _set(self, profile, filename=None):
|
||||
self.profile = profile
|
||||
self.filename = filename
|
||||
if profile:
|
||||
self.product_name = None # profile.product_name
|
||||
self.product_info = None # profile.product_info
|
||||
else:
|
||||
self.product_name = None
|
||||
self.product_info = None
|
||||
self.product_name = None # profile.product_name
|
||||
self.product_info = None # profile.product_info
|
||||
|
||||
def tobytes(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user