forked from Ponysearch/Ponysearch
[mod] var rename
This commit is contained in:
parent
34bdeda6d4
commit
89b68242d3
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ def default_request_params():
|
||||||
def make_callback(engine_name, results, callback, params):
|
def make_callback(engine_name, results, callback, params):
|
||||||
def process_callback(response, **kwargs):
|
def process_callback(response, **kwargs):
|
||||||
cb_res = []
|
cb_res = []
|
||||||
response.request_params = params
|
response.search_params = params
|
||||||
for result in callback(response):
|
for result in callback(response):
|
||||||
result['engine'] = engine_name
|
result['engine'] = engine_name
|
||||||
cb_res.append(result)
|
cb_res.append(result)
|
||||||
|
|
Loading…
Reference in a new issue