Improved Dependency check

This commit is contained in:
Ozzie Isaacs
2024-09-16 15:53:29 +02:00
parent 9d619ae5c7
commit 2617fa8af4
2 changed files with 2 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ def dependency_check(optional=False):
deps = load_dependencies(optional)
for dep in deps:
try:
dep_version_int = [int(x) if x.isnumeric() else 0 for x in dep[0].split('.')]
dep_version_int = [int(x) if x.isnumeric() else 0 for x in dep[0].split('.')[:3]]
low_check = [int(x) for x in dep[3].split('.')]
high_check = [int(x) for x in dep[5].split('.')]
except AttributeError: