summaryrefslogtreecommitdiff
path: root/searx/autocomplete.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-05-02 14:58:32 -0400
committerAdam Tauber <asciimoo@gmail.com>2015-05-02 14:58:32 -0400
commit93fd1e4c76b2eb3d219a8b146ae9e36b103ae5cf (patch)
treeaf2c5d2f48c4f11a79560f0f9f884209ad580617 /searx/autocomplete.py
parent81850dd603631b7e4b0d3b22d85e9eb3ae5b1e58 (diff)
parent4689fe341ca7c7231d0409526b9ee0f2eadde445 (diff)
downloadsearxng-93fd1e4c76b2eb3d219a8b146ae9e36b103ae5cf.tar.gz
searxng-93fd1e4c76b2eb3d219a8b146ae9e36b103ae5cf.zip
Merge pull request #308 from dalf/versions_upgrade
update versions.cfg to use the current up-to-date packages
Diffstat (limited to 'searx/autocomplete.py')
-rw-r--r--searx/autocomplete.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/autocomplete.py b/searx/autocomplete.py
index e7361b591..f5775bc63 100644
--- a/searx/autocomplete.py
+++ b/searx/autocomplete.py
@@ -28,7 +28,7 @@ from searx.poolrequests import get as http_get
def get(*args, **kwargs):
- if not 'timeout' in kwargs:
+ if 'timeout' not in kwargs:
kwargs['timeout'] = settings['server']['request_timeout']
return http_get(*args, **kwargs)