mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-22 13:14:45 +03:00
Updated features to use EVERY_ID
This commit is contained in:
parent
ccb75705bd
commit
0cbcae4900
|
@ -282,7 +282,7 @@ def pilinfo(out=None, supported_formats=True):
|
|||
for ext, i in Image.EXTENSION.items():
|
||||
extensions[i].append(ext)
|
||||
|
||||
for i in sorted(Image.ID):
|
||||
for i in sorted(Image.EVERY_ID):
|
||||
line = "{}".format(i)
|
||||
if i in Image.MIME:
|
||||
line = "{} {}".format(line, Image.MIME[i])
|
||||
|
|
Loading…
Reference in New Issue
Block a user