Exit on wrong Python version

This commit is contained in:
Simon authored and GitHub committed 2023-04-28 08:51:10 +01:00
1 parent 3331a09e63
commit 8178519937
1 file changed
+1
+1
View File
@@ -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(