summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2017-07-09 22:09:46 +0200
committerNoémi Ványi <sitbackandwait@gmail.com>2017-07-12 16:29:11 +0200
commit243d3e4298c93014f37ca6f1f957a60cb09f4ae1 (patch)
tree568d15c055c1841dd5bdb37b5be2a81c25d2efd0 /searx/webapp.py
parent3bd5ce65950cb86ec678ff3d074635638d63fb5d (diff)
show engine errors in infobox && add new error alert
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index e2825c050..1e66590c1 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -534,7 +534,8 @@ def index():
'answers': list(result_container.answers),
'corrections': list(result_container.corrections),
'infoboxes': result_container.infoboxes,
- 'suggestions': list(result_container.suggestions)}),
+ 'suggestions': list(result_container.suggestions),
+ 'unresponsive_engines': list(result_container.unresponsive_engines)}),
mimetype='application/json')
elif output_format == 'csv':
csv = UnicodeWriter(StringIO())
@@ -573,6 +574,7 @@ def index():
corrections=result_container.corrections,
infoboxes=result_container.infoboxes,
paging=result_container.paging,
+ unresponsive_engines=result_container.unresponsive_engines,
current_language=search_query.lang,
base_url=get_base_url(),
theme=get_current_theme_name(),