From 83e48fa89bd28a38b46a717d786cc7bfad26ff21 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Sat, 25 Apr 2015 12:05:35 +0200 Subject: [PATCH] flake8 fix --- searx/webapp.py | 1 + 1 file changed, 1 insertion(+) 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())