diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 10c05b7533c..0ba9a4ddd00 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -3184,7 +3184,7 @@ def get_ifd(self, tag): if tag == 0xA005: # interop self._ifds[tag] = self._get_ifd_dict(tag) elif tag == 0x927C: # makernote - from . import TiffImagePlugin + from .TiffImagePlugin import ImageFileDirectory_v2 if self._data[0x927C][:8] == b"FUJIFILM": exif_data = self._data[0x927C] @@ -3197,7 +3197,7 @@ def get_ifd(self, tag): "