commit: 87f673336fcfd27ce417d95a6099d5110998a05b
parent: 1972a044a31a846b2a589bd5e5a925621d3bbcd6
Author: Alexandre Flament <alex@al-f.net>
Date: Mon, 13 Feb 2017 21:36:45 +0100
[fix] rss feed : the jinja template was not found when the rss feed returns an valid feed including an error.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/searx/webapp.py b/searx/webapp.py
@@ -427,7 +427,8 @@ def index_error(output_format, error_message):
q=request.form['q'] if 'q' in request.form else '',
number_of_results=0,
base_url=get_base_url(),
- error_message=error_message
+ error_message=error_message,
+ override_theme='__common__',
)
return Response(response_rss, mimetype='text/xml')
else: