mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 18:36:17 +03:00
Simplified code
Co-authored-by: Konstantin Kopachev <kkopachev@popsugar.com>
This commit is contained in:
parent
4b14f0102d
commit
b25bc40009
|
@ -3390,7 +3390,7 @@ class Exif(MutableMapping):
|
|||
if tag == 0x927C:
|
||||
from .TiffImagePlugin import ImageFileDirectory_v2
|
||||
|
||||
if self._ifds[0x8769][tag][:8] == b"FUJIFILM":
|
||||
if tag_data[:8] == b"FUJIFILM":
|
||||
ifd_offset = i32le(tag_data, 8)
|
||||
ifd_data = tag_data[ifd_offset:]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user