diff options
author | Adam Tauber <asciimoo@gmail.com> | 2014-12-09 00:57:04 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2014-12-09 00:57:04 +0100 |
commit | 41aca9a068cbaf4e630461b844a152e7f2444548 (patch) | |
tree | 11a21fc230156909b175e68753bfea3f1df6462e /searx | |
parent | 0f4cb32bf176f234dd743729f7e785b3b4215854 (diff) | |
download | searxng-41aca9a068cbaf4e630461b844a152e7f2444548.tar.gz searxng-41aca9a068cbaf4e630461b844a152e7f2444548.zip |
[fix] autocomplete x-suggestion
Diffstat (limited to 'searx')
-rw-r--r-- | searx/webapp.py | 2 |
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), |