mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-10 15:24:45 +03:00
Fixed failing test
This commit is contained in:
parent
d8a2271d19
commit
0ac4903cb9
|
@ -860,7 +860,10 @@ class TiffImageFile(ImageFile.ImageFile):
|
|||
self.decoderconfig = (self.tag_v2[PREDICTOR],)
|
||||
|
||||
if ICCPROFILE in self.tag_v2:
|
||||
self.info['icc_profile'] = self.tag_v2[ICCPROFILE]
|
||||
iccprofile = self.tag_v2[ICCPROFILE]
|
||||
if len(iccprofile) == 1:
|
||||
iccprofile = iccprofile[0]
|
||||
self.info['icc_profile'] = iccprofile
|
||||
|
||||
return args
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user