Socket listening and socket activation enabled on tornado

Refactoring of server code
Updates requirements
Improved requirements parsing for versions containing letters
This commit is contained in:
Ozzie Isaacs
2023-10-29 16:45:09 +01:00
parent d877fa1c68
commit d26e60724a
3 changed files with 59 additions and 33 deletions

View File

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