summaryrefslogtreecommitdiff
path: root/searx/autocomplete.py
diff options
context:
space:
mode:
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)