mirror of
https://github.com/searxng/searxng
synced 2024-11-03 09:40:20 +00:00
[fix] filtering
This commit is contained in:
parent
95e4a9353a
commit
ec28b77a93
@ -88,7 +88,7 @@ def search(query, request, selected_engines):
|
|||||||
)
|
)
|
||||||
requests.append(req)
|
requests.append(req)
|
||||||
grequests.map(requests)
|
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)
|
flat_len = len(flat_res)
|
||||||
results = []
|
results = []
|
||||||
# deduplication + scoring
|
# deduplication + scoring
|
||||||
|
Loading…
Reference in New Issue
Block a user