From feef35568b76351dd7d5cb28446364fae46fc6ca Mon Sep 17 00:00:00 2001 From: ThamanVB Date: Thu, 2 Apr 2026 16:46:40 -0600 Subject: [PATCH] fix tiny var bug I was just looking through the repo to understand it better and noticed this error is using the wrong var --- Main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main.py b/Main.py index 4ff048ff8a..263ad199c9 100644 --- a/Main.py +++ b/Main.py @@ -261,7 +261,7 @@ def generate_wad(wad_file: str, rom_file: str, output_file: str, channel_title: with open(wad_file, 'rb') as wad_stream: wad_buffer = bytearray(wad_stream.read(0xFC0)) except FileNotFoundError as ex: - raise FileNotFoundError(f'Invalid path to Base WAD: "{input_file}"') + raise FileNotFoundError(f'Invalid path to Base WAD: "{wad_file}"') wad_app1_sha1_usa = [ [0x76, 0x3D, 0x4D, 0x3D, 0x07, 0x13, 0xE4, 0xD1, 0x0E, 0x44, 0x54, 0x0C, 0xCF, 0xA3, 0x25, 0x5E, 0x19, 0xF2, 0x8A, 0xF7], # US Wad App1