IT WORKS :D
This commit is contained in:
parent
4ade43801d
commit
085dc804c0
3
main.py
3
main.py
@ -58,11 +58,8 @@ for value in ips:
|
|||||||
if "." in value:
|
if "." in value:
|
||||||
#lookup(value)
|
#lookup(value)
|
||||||
currValue = value
|
currValue = value
|
||||||
print currValue
|
|
||||||
lookupThread = threadedLookup(name = "lookup" + value)
|
lookupThread = threadedLookup(name = "lookup" + value)
|
||||||
lookupThread.start()
|
lookupThread.start()
|
||||||
print(threading.active_count())
|
|
||||||
time.sleep(10)
|
|
||||||
#pprint(ipdict)
|
#pprint(ipdict)
|
||||||
|
|
||||||
for key, value in sorted(ipdict.iteritems(), key=lambda (k,v): (v,k)):
|
for key, value in sorted(ipdict.iteritems(), key=lambda (k,v): (v,k)):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user