1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[mod] var rename

This commit is contained in:
asciimoo 2013-10-26 02:21:55 +02:00
parent 34bdeda6d4
commit 89b68242d3

View File

@ -75,7 +75,7 @@ def default_request_params():
def make_callback(engine_name, results, callback, params):
def process_callback(response, **kwargs):
cb_res = []
response.request_params = params
response.search_params = params
for result in callback(response):
result['engine'] = engine_name
cb_res.append(result)