mirror of https://github.com/searxng/searxng.git
[fix] filtering
This commit is contained in:
parent
95e4a9353a
commit
ec28b77a93
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue