first commit

This commit is contained in:
2026-05-28 21:21:24 +03:00
parent 98bf0f07da
commit 39eb4386cd
+1 -1
View File
@@ -90,7 +90,7 @@ def has_internet_connection(timeout=5):
pass
# 2) Test direct TCP connectivity to common HTTPS endpoints (port 443).
https_hosts = ("pioduino.netmesvoip.ru")
https_hosts = ("pypi.org", "files.pythonhosted.org", "github.com","pioduino.netmesvoip.ru")
for host in https_hosts:
try:
socket.create_connection((host, 443), timeout=timeout).close()