Update manualtab.py

This commit is contained in:
brostos 2024-03-02 03:27:29 +03:00 committed by GitHub
parent 37588433bc
commit a7166b2d71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,7 +48,7 @@ class _HostLookupThread(Thread):
try:
import socket
result = socket.gethostbyname(self._name)
result = [item[-1][0] for item in socket.getaddrinfo(self.name, self._port)][0]
except Exception:
result = None
bui.pushcall(