summaryrefslogtreecommitdiff
path: root/searx/autocomplete.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2015-05-02 15:45:17 +0200
committerAlexandre Flament <alex@al-f.net>2015-05-02 15:45:17 +0200
commit4689fe341ca7c7231d0409526b9ee0f2eadde445 (patch)
tree12d51f3471b2dfd448768cb8e540ee4668869453 /searx/autocomplete.py
parentbbd83f5a519381ac7ea690a1645258d106a9ba8a (diff)
downloadsearxng-4689fe341ca7c7231d0409526b9ee0f2eadde445.tar.gz
searxng-4689fe341ca7c7231d0409526b9ee0f2eadde445.zip
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 83e204890..218d3fe76 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)