mirror of
https://github.com/searxng/searxng.git
synced 2024-11-20 09:51:00 +00:00
[fix] filtering
This commit is contained in:
parent
95e4a9353a
commit
ec28b77a93
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue