From bf52b51426480cc1bc30c9a18e1120ad5b3cccbd Mon Sep 17 00:00:00 2001 From: Lucent Date: Wed, 11 Oct 2023 12:26:21 +0200 Subject: [PATCH] typo2 --- Randomizer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Randomizer.py b/Randomizer.py index b4e3d58..7bc70fd 100644 --- a/Randomizer.py +++ b/Randomizer.py @@ -4674,13 +4674,13 @@ def patch_game(): apply_to_files(patch, source, target) except: target.close() - os.unlink(os.path.join('.', 'seeds', '{}.gba'.format(FileName)) + os.unlink(os.path.join('.', 'seeds', '{}.gba'.format(FileName))) print('Error: failed to patch game with base patch!') sys.exit(1) checksum = fileHash(os.path.join('.', 'seeds', '{}.gba'.format(FileName))) if checksum != 2455114263: - os.remove(os.path.join('.', 'seeds', '{}.gba'.format(FileName))) + os.unlink(os.path.join('.', 'seeds', '{}.gba'.format(FileName))) print('Error: Base patch file has been modified. Please go to https://metroidconstruction.com/ and re-download MFOR.') sys.exit(1) # WARNING: Decompyle incomplete