Browse Source

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

Alexandre Flament 7 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 View File

427
             q=request.form['q'] if 'q' in request.form else '',
427
             q=request.form['q'] if 'q' in request.form else '',
428
             number_of_results=0,
428
             number_of_results=0,
429
             base_url=get_base_url(),
429
             base_url=get_base_url(),
430
-            error_message=error_message
430
+            error_message=error_message,
431
+            override_theme='__common__',
431
         )
432
         )
432
         return Response(response_rss, mimetype='text/xml')
433
         return Response(response_rss, mimetype='text/xml')
433
     else:
434
     else: