Fixed small typo, where did that come from?

This commit is contained in:
AMRowsell 2024-01-10 01:28:15 +00:00
commit 759d17e5b0

View file

@ -43,7 +43,7 @@ try:
if version == 2:
print("Version 2 Paint file detected...")
Width = int.from_bytes(f.read(2), "little")
width = int.from_bytes(f.read(2), "little")
height = int.from_bytes(f.read(2), "little")
size = int((width * height) / 8)
f.seek((height * 2) + 32) # seek to the start of image data