Skip to content

Commit edbb835

Browse files
committed
FIx python check version script
1 parent 410c61a commit edbb835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/check_python_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def check_version(version):
66
return False
77
if split_version[1] != 'x' and int(split_version[1]) != sys.version_info[1]:
88
return False
9-
if split_version[2] != 'x' and int(split_version[2]) != sys.version_info[2]:
9+
if split_version[2] != 'x' and int(split_version[2].split('-')[0]) != sys.version_info[2]:
1010
return False
1111
return True
1212

0 commit comments

Comments
 (0)