From f0dc9994c49e8ce0c7d9e7b81c1803bbbb3e09b0 Mon Sep 17 00:00:00 2001 From: "Kalam :p" <63474858+YourKalamity@users.noreply.github.com> Date: Sun, 28 Jun 2020 12:48:22 +0100 Subject: [PATCH] added check for python3 --- main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.py b/main.py index 05444a0..484645c 100644 --- a/main.py +++ b/main.py @@ -12,6 +12,10 @@ import shutil from subprocess import Popen import zipfile +if(sys.version_info.major < 3): + print("This program will ONLY work on Python 3 and above") + sys.exit() + dsiVersions = ["1.0 - 1.3 (USA, EUR, AUS, JPN)", "1.4 - 1.4.5 (USA, EUR, AUS, JPN)", "All versions (KOR, CHN)"] memoryPitLinks = ["https://github.com/YourKalamity/just-a-dsi-cfw-installer/raw/master/assets/files/memoryPit/256/pit.bin","https://github.com/YourKalamity/just-a-dsi-cfw-installer/raw/master/assets/files/memoryPit/768_1024/pit.bin"]