mirror of
https://github.com/python-pillow/Pillow.git
synced 2026-02-04 14:35:54 +03:00
lint
This commit is contained in:
parent
326bfde10f
commit
65a9bbc81c
|
|
@ -520,7 +520,7 @@ class DdsRgbDecoder(ImageFile.PyDecoder):
|
|||
# work around BufferedIO not being seekable
|
||||
has_more = len(chunk) > 0
|
||||
value = int.from_bytes(chunk, "little")
|
||||
for i, mask, in enumerate(masks):
|
||||
for i, mask in enumerate(masks):
|
||||
masked_value = value & mask
|
||||
# Remove the zero padding, and scale it to 8 bits
|
||||
data += o8(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user