Patch ipwhois host lookup

* Args need to be unpacked into the namedtuple
This commit is contained in:
JonnyWong16 2021-10-14 21:38:48 -07:00
parent 2c4cc34b2b
commit b55b053b1e
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -801,7 +801,7 @@ class Net:
results = namedtuple('get_host_results', 'hostname, aliaslist, '
'ipaddrlist')
return results(ret)
return results(*ret)
except (socket.timeout, socket.error) as e: