commit: 83e48fa89bd28a38b46a717d786cc7bfad26ff21
parent cde37be4f594451c1b791b7a3a66d78c2bc44d54
Author: Alexandre Flament <alex@al-f.net>
Date: Sat, 25 Apr 2015 12:05:35 +0200
flake8 fix
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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())