mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 17:54:32 +03:00
Added comment [ci skip]
This commit is contained in:
parent
ff6ca4159a
commit
4f9118bdbd
|
@ -206,6 +206,9 @@ class Jpeg2KImageFile(ImageFile.ImageFile):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def reduce(self):
|
def reduce(self):
|
||||||
|
# https://github.com/python-pillow/Pillow/issues/4343 found that the
|
||||||
|
# new Image 'reduce' method was shadowed by this plugin's 'reduce'
|
||||||
|
# property. This attempts to allow for both scenarios
|
||||||
return self._reduce or super().reduce
|
return self._reduce or super().reduce
|
||||||
|
|
||||||
@reduce.setter
|
@reduce.setter
|
||||||
|
|
Loading…
Reference in New Issue
Block a user