Skip to content

Commit cc45886

Browse files
committed
Revert unintentional change
1 parent f2dfd0b commit cc45886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PIL/BmpImagePlugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def _bitmap(self, header=0, offset=0):
229229
palette = read(padding * file_info["colors"])
230230
greyscale = True
231231
indices = (
232-
(0, file_info["colors"])
232+
(0, 255)
233233
if file_info["colors"] == 2
234234
else list(range(file_info["colors"]))
235235
)

0 commit comments

Comments
 (0)