From bba493d7023afe664746bdb3112233417575b7c8 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 15 Feb 2022 21:50:20 +1100 Subject: [PATCH] Replaced absolute PIL import with relative import --- src/PIL/BlpImagePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/BlpImagePlugin.py b/src/PIL/BlpImagePlugin.py index 7b78597b4..367c4f479 100644 --- a/src/PIL/BlpImagePlugin.py +++ b/src/PIL/BlpImagePlugin.py @@ -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("