From 9d54f56ea65fd9dd634c6358e7d2037a2a0dbd00 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 23 Feb 2020 17:12:21 +0100 Subject: [PATCH] mention the configured rom path in its warning --- MultiMystery.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MultiMystery.py b/MultiMystery.py index 73b0cdb5..9598ae64 100644 --- a/MultiMystery.py +++ b/MultiMystery.py @@ -51,8 +51,8 @@ if __name__ == "__main__": if not os.path.exists(enemizer_path): feedback(f"Enemizer not found at {enemizer_path}, please adjust the path in MultiMystery.py's config or put Enemizer in the default location.") - if not os.path.exists("Zelda no Densetsu - Kamigami no Triforce (Japan).sfc"): - feedback("Base rom is expected as Zelda no Densetsu - Kamigami no Triforce (Japan).sfc in the Multiworld root folder please place/rename it there.") + if not os.path.exists(rom_file): + feedback(f"Base rom is expected as {rom_file} in the Multiworld root folder please place/rename it there.") player_files = [] os.makedirs(player_files_path, exist_ok=True) for file in os.listdir(player_files_path):