Combine extensions into register_extensions [ci skip]

This commit is contained in:
Andrew Murray 2020-08-10 21:26:41 +10:00
parent 33dca341a9
commit dfca48df1b

View File

@ -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