Skip to content

Commit

Permalink
fix paeth
Browse files Browse the repository at this point in the history
  • Loading branch information
Neradoc committed Feb 21, 2025
1 parent 4223574 commit 790497e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_imageload/png.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def load( # noqa: PLR0912, PLR0915, Too many branches, Too many statements
p = b
else:
p = c
byte = (data_bytes[src] + p) & 0xFF
byte = (byte + p) & 0xFF
else:
raise ValueError("Wrong filter.")
line[pos] = byte
Expand Down

0 comments on commit 790497e

Please sign in to comment.