From 7e84b535c1eadc6e8be1dd1d7c4719c98ae71e11 Mon Sep 17 00:00:00 2001 From: Laggamer2005 <158077584+Laggamer2005@users.noreply.github.com> Date: Sat, 17 Aug 2024 16:54:56 +0100 Subject: [PATCH] Update rom-converter.py --- rom-converter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rom-converter.py b/rom-converter.py index 26efd29..e27bd91 100644 --- a/rom-converter.py +++ b/rom-converter.py @@ -38,7 +38,8 @@ print("To be compatible with this, ROMs must be converted to headerless .smc files.") print("Would you like to convert the input ROMs to this format? (y/N)") - if input() == "y": + if raw_input() == "y": + import os for filename in os.listdir("."): ext = filename[-4:].lower() if (ext == ".sfc" or ext == ".smc") and os.path.isfile(filename):