Fix template rendering for search.xml

This commit is contained in:
2021-02-26 10:56:04 +01:00
parent eddcff97ae
commit 205612ff61
+1 -1
View File
@@ -316,6 +316,6 @@ def settings():
@bp.route('/search.xml')
def search_xml():
return render_template('search.xml', 200, {'Content-Type': 'application/opensearchdescription+xml'})
return render_template('search.xml'), 200, {'Content-Type': 'application/opensearchdescription+xml'}