Browse Source

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

Alexandre Flament 8 years ago
parent
commit
87f673336f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      searx/webapp.py

+ 2 - 1
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: