cymruwhois uses dotted decimal format

This commit is contained in:
Alexandre Dulaunoy 2014-08-25 10:05:36 +02:00
parent 87a57e1f05
commit f070ac2005

View file

@ -81,7 +81,7 @@ if __name__ == "__main__":
continue
try:
l = client.lookup(socket.inet_aton(ip), qType='IP')
l = client.lookup(ip, qType='IP')
except ipaddress.AddressValueError:
continue
cc = getattr(l, 'cc')