mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 03:11:00 +00:00
[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
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue