Skip to content

Commit 790497e

Browse files
committedFeb 21, 2025·
fix paeth
·
1.24.41.24.0
1 parent 4223574 commit 790497e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎adafruit_imageload/png.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def load( # noqa: PLR0912, PLR0915, Too many branches, Too many statements
144144
p = b
145145
else:
146146
p = c
147-
byte = (data_bytes[src] + p) & 0xFF
147+
byte = (byte + p) & 0xFF
148148
else:
149149
raise ValueError("Wrong filter.")
150150
line[pos] = byte

0 commit comments

Comments
 (0)
Please sign in to comment.