commit: 41aca9a068cbaf4e630461b844a152e7f2444548
parent: 0f4cb32bf176f234dd743729f7e785b3b4215854
Author: Adam Tauber <asciimoo@gmail.com>
Date: Tue, 9 Dec 2014 00:57:04 +0100
[fix] autocomplete x-suggestion
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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),