diff options
author | asciimoo <asciimoo@gmail.com> | 2013-11-03 00:34:09 +0100 |
---|---|---|
committer | asciimoo <asciimoo@gmail.com> | 2013-11-03 00:34:09 +0100 |
commit | 443af2ba8385b71788ffc9953bf681e0804def1d (patch) | |
tree | 9db70fd82663187c5300651b5dbca05cfb2de13c /searx/engines/__init__.py | |
parent | a8797839a10b779bb5b57c27c8e50a48fc9d9a3b (diff) | |
download | searxng-443af2ba8385b71788ffc9953bf681e0804def1d.tar.gz searxng-443af2ba8385b71788ffc9953bf681e0804def1d.zip |
[fix] varname
Diffstat (limited to 'searx/engines/__init__.py')
-rw-r--r-- | searx/engines/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py index 4fc39266e..e5b32824b 100644 --- a/searx/engines/__init__.py +++ b/searx/engines/__init__.py @@ -123,7 +123,7 @@ def search(query, request, selected_categories): ,headers = request_params['headers'] ,hooks = dict(response=callback) ,cookies = request_params['cookies'] - ,timeout = settings.timeout + ,timeout = settings.request_timeout ) else: req = grequests.post(request_params['url'] @@ -131,7 +131,7 @@ def search(query, request, selected_categories): ,headers = request_params['headers'] ,hooks = dict(response=callback) ,cookies = request_params['cookies'] - ,timeout = settings.timeout + ,timeout = settings.request_timeout ) requests.append(req) grequests.map(requests) |