[fix] rss feed : the jinja template was not found when the rss feed returns an valid feed including an error.

This commit is contained in:
Alexandre Flament 2017-02-13 21:36:45 +01:00 committed by Adam Tauber
parent 1972a044a3
commit 87f673336f

View File

@ -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: