Fixed typo

This commit is contained in:
Spaceginner 2023-01-25 22:56:09 +05:00
parent 0cc5f380d5
commit f5d73b6a66
No known key found for this signature in database
GPG Key ID: 265D2778149F4183

View File

@ -21,9 +21,9 @@ def check_python_version():
version = sys.version_info version = sys.version_info
version_range = None version_range = None
if os.name == "nt": if os.name == "nt":
version_range = range(7, 11) version_range = range(7 + 1, 10 + 1)
else: else:
version_range = range(7, 12) version_range = range(7 + 1, 11 + 1)
try: try:
assert version.major == 3 and version.minor in version_range, "Unsupported Python version, please use Python 3.10.x instead. You can download latest release as of 25th January (3.10.9) from here: https://www.python.org/downloads/release/python-3109/. Please, make sure to first delete current version of Python first and delete `venv` folder inside of WebUI's folder, too." assert version.major == 3 and version.minor in version_range, "Unsupported Python version, please use Python 3.10.x instead. You can download latest release as of 25th January (3.10.9) from here: https://www.python.org/downloads/release/python-3109/. Please, make sure to first delete current version of Python first and delete `venv` folder inside of WebUI's folder, too."