forked from zaclys/searxng
[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:
parent
1972a044a3
commit
87f673336f
|
@ -427,7 +427,8 @@ def index_error(output_format, error_message):
|
||||||
q=request.form['q'] if 'q' in request.form else '',
|
q=request.form['q'] if 'q' in request.form else '',
|
||||||
number_of_results=0,
|
number_of_results=0,
|
||||||
base_url=get_base_url(),
|
base_url=get_base_url(),
|
||||||
error_message=error_message
|
error_message=error_message,
|
||||||
|
override_theme='__common__',
|
||||||
)
|
)
|
||||||
return Response(response_rss, mimetype='text/xml')
|
return Response(response_rss, mimetype='text/xml')
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue