Bug fix: jeb_utils.utils.is_valid_host returned None instead of False if the host is not valid

This commit is contained in:
2026-04-04 16:28:27 +02:00
parent 5abaa71b27
commit f3dd768446
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ def is_valid_host(host: str) -> bool:
ipaddress.ip_address(host)
return True
except ValueError:
pass
return False
def is_valid_port(port: str) -> bool:
'''