[fix] filtering

This commit is contained in:
asciimoo 2013-10-20 20:47:00 +02:00
parent 95e4a9353a
commit ec28b77a93
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ def search(query, request, selected_engines):
)
requests.append(req)
grequests.map(requests)
flat_res = list(filter(None, chain(*izip_longest(*results.values()))))
flat_res = filter(None, chain.from_iterable(izip_longest(*results.values())))
flat_len = len(flat_res)
results = []
# deduplication + scoring