mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 00:46:16 +03:00
Revert unintentional change
This commit is contained in:
parent
f2dfd0bfb3
commit
cc45886bc3
|
@ -229,7 +229,7 @@ class BmpImageFile(ImageFile.ImageFile):
|
|||
palette = read(padding * file_info["colors"])
|
||||
greyscale = True
|
||||
indices = (
|
||||
(0, file_info["colors"])
|
||||
(0, 255)
|
||||
if file_info["colors"] == 2
|
||||
else list(range(file_info["colors"]))
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user