summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2017-02-13 21:36:45 +0100
committerAdam Tauber <asciimoo@gmail.com>2017-05-22 22:20:35 +0200
commit87f673336fcfd27ce417d95a6099d5110998a05b (patch)
treeca445cfc457eadee3b2d15c0095e584e4cb0e50f
parent1972a044a31a846b2a589bd5e5a925621d3bbcd6 (diff)
downloadsearxng-87f673336fcfd27ce417d95a6099d5110998a05b.tar.gz
searxng-87f673336fcfd27ce417d95a6099d5110998a05b.zip
[fix] rss feed : the jinja template was not found when the rss feed returns an valid feed including an error.
-rw-r--r--searx/webapp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 7a1ddbbb2..fcea5f280 100644
--- 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: