Skip to content

Commit

Permalink
FIx python check version script
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoH2O1999 committed May 19, 2023
1 parent 410c61a commit edbb835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/check_python_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def check_version(version):
return False
if split_version[1] != 'x' and int(split_version[1]) != sys.version_info[1]:
return False
if split_version[2] != 'x' and int(split_version[2]) != sys.version_info[2]:
if split_version[2] != 'x' and int(split_version[2].split('-')[0]) != sys.version_info[2]:
return False
return True

Expand Down

0 comments on commit edbb835

Please sign in to comment.