Skip to content

Commit 7bdd123

Browse files
committed
Merge pull request #1 from ZhaoXiaolinn/patch-1
A bug in google.py
2 parents 4d18c8f + 336f778 commit 7bdd123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get_available_google_ips(seeds, threads=None, max=None):
5555
for ip, dt in results:
5656
if dt > 0:
5757
available_ips.append((ip, dt))
58-
sorted_ips = map(lambda x: x[0], sorted(results, lambda (_, a), (__, b): bi_value(a-b)))
58+
sorted_ips = map(lambda x: x[0], sorted(available_ips, lambda (_, a), (__, b): bi_value(a-b)))
5959
return sorted_ips[:max]
6060

6161

0 commit comments

Comments
 (0)