diff --git a/searx/templates/opensearch.xml b/searx/templates/opensearch.xml index 403d18bb5..82f8225c0 100644 --- a/searx/templates/opensearch.xml +++ b/searx/templates/opensearch.xml @@ -6,7 +6,7 @@ searx metasearch {% if method == 'get' %} - {% if client.autocompleter %} + {% if autocomplete %} @@ -16,7 +16,7 @@ - {% if client.autocompleter %} + {% if autocomplete %} diff --git a/searx/webapp.py b/searx/webapp.py index bb6c66ab4..1058d9e65 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -350,7 +350,6 @@ def preferences(): return resp return render('preferences.html', - client=settings.get('client', None), locales=settings['locales'], current_locale=get_locale(), current_language=lang or 'all', @@ -369,7 +368,6 @@ def stats(): return render( 'stats.html', stats=stats, - client=settings.get('client', None) ) @@ -392,8 +390,7 @@ def opensearch(): ret = render('opensearch.xml', method=method, - host=get_base_url(), - client=settings['client']) + host=get_base_url()) resp = Response(response=ret, status=200,