diff options
author | morpheus65535 <[email protected]> | 2023-06-23 00:03:23 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2023-06-23 00:03:23 -0400 |
commit | c92d574bf2c406974db3f1d513b37398ac9a0e70 (patch) | |
tree | 3d83a7f2049db355306cbc1f8278a8a836747875 /bazarr.py | |
parent | cd016840f9d69f48429ff2d088a4fa00d705d41c (diff) | |
download | bazarr-c92d574bf2c406974db3f1d513b37398ac9a0e70.tar.gz bazarr-c92d574bf2c406974db3f1d513b37398ac9a0e70.zip |
Added experimental Python 3.11 support
Diffstat (limited to 'bazarr.py')
-rw-r--r-- | bazarr.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]) > 10: - print("Python version greater than 3.10.x is unsupported. Current version is " + platform.python_version() + + elif int(python_version[0]) == 3 and int(python_version[1]) > 11: + print("Python version greater than 3.11.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]): |