Skip to content

Commit

Permalink
Moved comment back [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Oct 24, 2022
1 parent d092bb7 commit cf46156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PIL/BmpImagePlugin.py
Expand Up @@ -308,7 +308,6 @@ def decode(self, buffer):
data += byte * num_pixels
x += num_pixels
else:
# absolute mode
if byte[0] == 0:
# end of line
while len(data) % self.state.xsize != 0:
Expand All @@ -326,6 +325,7 @@ def decode(self, buffer):
data += b"\x00" * (right + up * self.state.xsize)
x = len(data) % self.state.xsize
else:
# absolute mode
if rle4:
# 2 pixels per byte
byte_count = byte[0] // 2
Expand Down

0 comments on commit cf46156

Please sign in to comment.