From 81785199379f200590678cf04db4b8d6281fb4ac Mon Sep 17 00:00:00 2001 From: Simon <65854503+OpenSourceSimon@users.noreply.github.com> Date: Fri, 28 Apr 2023 08:51:10 +0100 Subject: [PATCH] Exit on wrong Python version --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index d2273c6..35eddfe 100755 --- a/main.py +++ b/main.py @@ -86,6 +86,7 @@ def shutdown(): if __name__ == "__main__": if sys.version_info.major != 3 or sys.version_info.minor != 10: print("Hey! Congratulations, you've made it so far (which is pretty rare with no Python 3.10). Unfortunately, this program only works on Python 3.10. Please install Python 3.10 and try again.") + exit() ffmpeg_install() # install ffmpeg if not installed directory = Path().absolute() config = settings.check_toml(