Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

flake8 fix

Alexandre Flament83e48fa89bd2
diff --git a/searx/webapp.py b/searx/webapp.py
index 8a0adefd5..3b6ac6591 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -112,6 +112,7 @@ _category_names = (gettext('files'),
outgoing_proxies = settings.get('outgoing_proxies', None)
+
@babel.localeselector
def get_locale():
locale = request.accept_languages.best_match(settings['locales'].keys())