Merge pull request #21 from adulau/master

cymruwhois uses dotted decimal format
pull/22/head
Jules 2014-08-25 10:09:00 +02:00
commit 93006243c9
1 changed files with 1 additions and 1 deletions

View File

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