mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Removed condition that was always true
This commit is contained in:
parent
0fd4750ba4
commit
2a403860d1
|
@ -50,8 +50,7 @@ class GimpPaletteFile(object):
|
|||
if len(v) != 3:
|
||||
raise ValueError("bad palette entry")
|
||||
|
||||
if 0 <= i <= 255:
|
||||
self.palette[i] = o8(v[0]) + o8(v[1]) + o8(v[2])
|
||||
self.palette[i] = o8(v[0]) + o8(v[1]) + o8(v[2])
|
||||
|
||||
i += 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user