summaryrefslogtreecommitdiffhomepage
path: root/bazarr.py
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2021-12-01 15:47:00 -0500
committermorpheus65535 <[email protected]>2021-12-01 15:47:00 -0500
commit402c82d84f7bd51353348bea7d1a876ad9ecc5b1 (patch)
treec0635920594b9220ed31a20948b684c3b5a8a001 /bazarr.py
parent2d214bfbd5f9d1598c01b2e2dd35efa67ccb43af (diff)
downloadbazarr-402c82d84f7bd51353348bea7d1a876ad9ecc5b1.tar.gz
bazarr-402c82d84f7bd51353348bea7d1a876ad9ecc5b1.zip
Upgraded some embedded dependencies to be ready for Python 3.10. This doesn't mean that it's fully supported right now.
Diffstat (limited to 'bazarr.py')
-rw-r--r--bazarr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bazarr.py b/bazarr.py
index 5b6d077ba..c2277bb5b 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]) == 9:
- print("Python 3.9.x is unsupported. Current version is " + platform.python_version() +
+ 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() +
". 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]):