mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Call _getexif function instead of class method
This commit is contained in:
parent
c46b3fe256
commit
2fc724d346
|
@ -39,8 +39,8 @@ class WebPImageFile(ImageFile.ImageFile):
|
|||
self.tile = [("raw", (0, 0) + self.size, 0, self.mode)]
|
||||
|
||||
def _getexif(self):
|
||||
from PIL.JpegImagePlugin import JpegImageFile
|
||||
return JpegImageFile._getexif.im_func(self)
|
||||
from PIL.JpegImagePlugin import _getexif
|
||||
return _getexif(self)
|
||||
|
||||
|
||||
def _save(im, fp, filename):
|
||||
|
|
Loading…
Reference in New Issue
Block a user