mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 09:26:16 +03:00
Combine extensions into register_extensions [ci skip]
This commit is contained in:
parent
33dca341a9
commit
dfca48df1b
|
@ -87,8 +87,10 @@ true color.
|
|||
|
||||
Image.register_open(SpamImageFile.format, SpamImageFile, _accept)
|
||||
|
||||
Image.register_extension(SpamImageFile.format, ".spam")
|
||||
Image.register_extension(SpamImageFile.format, ".spa") # DOS version
|
||||
Image.register_extensions(SpamImageFile.format, [
|
||||
".spam",
|
||||
".spa", # DOS version
|
||||
])
|
||||
|
||||
|
||||
The format handler must always set the
|
||||
|
|
Loading…
Reference in New Issue
Block a user