1
0
Fork 0

version checking fix

This commit is contained in:
Lili (Tlapka) 2021-04-06 11:39:37 +02:00
parent 1702bdc73b
commit 8a4a41545f
1 changed files with 1 additions and 1 deletions

View File

@ -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.")