version checking fix
This commit is contained in:
parent
1702bdc73b
commit
8a4a41545f
|
@ -39,7 +39,7 @@ def check_prerequisites():
|
||||||
if found:
|
if found:
|
||||||
version_number = version.stdout.split(" ", 1)[1].split(".")
|
version_number = version.stdout.split(" ", 1)[1].split(".")
|
||||||
if version_number[0] == "3":
|
if version_number[0] == "3":
|
||||||
if int(version_number[1]) > 7:
|
if int(version_number[1]) >= 7:
|
||||||
print("OK, Python version higher than 3.7.")
|
print("OK, Python version higher than 3.7.")
|
||||||
else:
|
else:
|
||||||
print("NOK, Python version lower than 3.7.")
|
print("NOK, Python version lower than 3.7.")
|
||||||
|
|
Reference in New Issue