mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
Merge pull request #21 from adulau/master
cymruwhois uses dotted decimal format
This commit is contained in:
commit
93006243c9
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue