summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2014-12-09 00:57:04 +0100
committerAdam Tauber <asciimoo@gmail.com>2014-12-09 00:57:04 +0100
commit41aca9a068cbaf4e630461b844a152e7f2444548 (patch)
tree11a21fc230156909b175e68753bfea3f1df6462e /searx
parent0f4cb32bf176f234dd743729f7e785b3b4215854 (diff)
downloadsearxng-41aca9a068cbaf4e630461b844a152e7f2444548.tar.gz
searxng-41aca9a068cbaf4e630461b844a152e7f2444548.zip
[fix] autocomplete x-suggestion
Diffstat (limited to 'searx')
-rw-r--r--searx/webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 9f09f51f5..541975573 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -402,7 +402,7 @@ def autocompleter():
# return autocompleter results
if request_data.get('format') == 'x-suggestions':
- return Response(json.dumps([query, results]),
+ return Response(json.dumps([query.query, results]),
mimetype='application/json')
else:
return Response(json.dumps(results),