mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
Replaced absolute PIL import with relative import
This commit is contained in:
parent
7b3f28047f
commit
bba493d702
|
@ -347,7 +347,7 @@ class BLP1Decoder(_BLPBaseDecoder):
|
|||
)
|
||||
|
||||
def _decode_jpeg_stream(self):
|
||||
from PIL.JpegImagePlugin import JpegImageFile
|
||||
from .JpegImagePlugin import JpegImageFile
|
||||
|
||||
(jpeg_header_size,) = struct.unpack("<I", self._safe_read(4))
|
||||
jpeg_header = self._safe_read(jpeg_header_size)
|
||||
|
|
Loading…
Reference in New Issue
Block a user