From 6e52ce2ecfaad8db92d8bd7d75048fc8b36e0aa9 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Wed, 29 Dec 2021 11:52:47 -0500 Subject: [PATCH] Added support for Python 3.10 in startup warning. --- bazarr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bazarr.py b/bazarr.py index c2277bb5b..a61540149 100644 --- a/bazarr.py +++ b/bazarr.py @@ -20,8 +20,8 @@ def check_python_version(): print("Python " + minimum_py3_str + " or greater required. " "Current version is " + platform.python_version() + ". Please upgrade Python.") sys.exit(1) - elif int(python_version[0]) == 3 and int(python_version[1]) > 8: - print("Python version greater than 3.8.x is unsupported. Current version is " + platform.python_version() + + elif int(python_version[0]) == 3 and int(python_version[1]) > 10: + print("Python version greater than 3.10.x is unsupported. Current version is " + platform.python_version() + ". Keep in mind that even if it works, you're on your own.") elif (int(python_version[0]) == minimum_py3_tuple[0] and int(python_version[1]) < minimum_py3_tuple[1]) or \ (int(python_version[0]) != minimum_py3_tuple[0]):