From 41cdd73748b866220f79954c57a45c8590923d0c Mon Sep 17 00:00:00 2001 From: chenhq Date: Fri, 24 Mar 2023 15:29:45 +0800 Subject: [PATCH] check python version --- solox/__init__.py | 2 +- solox/web.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/solox/__init__.py b/solox/__init__.py index 9c4f333..7770923 100644 --- a/solox/__init__.py +++ b/solox/__init__.py @@ -2,4 +2,4 @@ from __future__ import absolute_import -__version__ = '2.5.4' +__version__ = '2.5.5' diff --git a/solox/web.py b/solox/web.py index 6a4491b..59b8bc4 100644 --- a/solox/web.py +++ b/solox/web.py @@ -65,7 +65,7 @@ def disconnect(): def checkPyVer(): """check python version""" - versions = platform.python_version().split('.')[0] + versions = platform.python_version().split('.') if int(versions[0]) < 3: logger.error('python version must be 3.10+ ,your python version is {}'.format(platform.python_version())) sys.exit()