diff options
author | morpheus65535 <[email protected]> | 2021-12-29 11:52:47 -0500 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2021-12-29 11:52:47 -0500 |
commit | 6e52ce2ecfaad8db92d8bd7d75048fc8b36e0aa9 (patch) | |
tree | ff1c2efb89b261bb2c5d73d84efbf6e529e585e6 /bazarr.py | |
parent | c05997bd3386bd8a7ace3fa2a8a5b17a456b929d (diff) | |
download | bazarr-6e52ce2ecfaad8db92d8bd7d75048fc8b36e0aa9.tar.gz bazarr-6e52ce2ecfaad8db92d8bd7d75048fc8b36e0aa9.zip |
Added support for Python 3.10 in startup warning.v1.0.2-beta.15v1.0.2
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]) > 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]): |