mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-17 18:54:46 +03:00
Remove an unnecessary import
This commit is contained in:
parent
aca1bcbe2b
commit
8b806e4a2d
|
@ -36,7 +36,6 @@ import array
|
|||
import struct
|
||||
import io
|
||||
import warnings
|
||||
from struct import unpack_from
|
||||
from PIL import Image, ImageFile, TiffImagePlugin, _binary
|
||||
from .exceptions import InvalidFileType, PILReadError
|
||||
from PIL.JpegPresets import presets
|
||||
|
@ -491,7 +490,7 @@ def _getmp(self):
|
|||
try:
|
||||
rawmpentries = mp[0xB002]
|
||||
for entrynum in range(0, quant):
|
||||
unpackedentry = unpack_from(
|
||||
unpackedentry = struct.unpack_from(
|
||||
'{}LLLHH'.format(endianness), rawmpentries, entrynum * 16)
|
||||
labels = ('Attribute', 'Size', 'DataOffset', 'EntryNo1',
|
||||
'EntryNo2')
|
||||
|
|
Loading…
Reference in New Issue
Block a user