From 759d17e5b0f12d49268207be8816c307b8f396f3 Mon Sep 17 00:00:00 2001 From: AMRowsell Date: Wed, 10 Jan 2024 01:28:15 +0000 Subject: [PATCH] Fixed small typo, where did that come from? --- mspconvert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mspconvert.py b/mspconvert.py index 788ea41..174b880 100755 --- a/mspconvert.py +++ b/mspconvert.py @@ -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