Skip to content

Commit

Permalink
check python version
Browse files Browse the repository at this point in the history
  • Loading branch information
rafa0128 committed Mar 24, 2023
1 parent 5ad6bcd commit 41cdd73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion solox/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

from __future__ import absolute_import

__version__ = '2.5.4'
__version__ = '2.5.5'
2 changes: 1 addition & 1 deletion solox/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 41cdd73

Please sign in to comment.