Patch ipwhois host lookup

* Args need to be unpacked into the namedtuple
This commit is contained in:
JonnyWong16 2021-06-02 11:31:14 -07:00
commit 895d67fad3
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

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