added a sleep

This commit is contained in:
benjamyn committed 2018-02-20 09:24:22 +11:00
1 parent fa68ed3c23
commit 970acc2808
1 file changed
+2
+2
View File
@@ -1,5 +1,6 @@
import os
import threading
import time
from ipwhois.net import Net
from ipwhois.asn import IPASN
from pprint import pprint
@@ -60,6 +61,7 @@ for value in ips:
lookupThread = threadedLookup(name = "lookup" + value)
lookupThread.start()
time.sleep(10)
#pprint(ipdict)
for key, value in sorted(ipdict.iteritems(), key=lambda (k,v): (v,k)):