summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2015-04-25 12:05:35 +0200
committerAlexandre Flament <alex@al-f.net>2015-04-25 12:05:35 +0200
commit83e48fa89bd28a38b46a717d786cc7bfad26ff21 (patch)
treeeac57e44a464959cdd892dd19eb301ec64e051e2 /searx/webapp.py
parentcde37be4f594451c1b791b7a3a66d78c2bc44d54 (diff)
downloadsearxng-83e48fa89bd28a38b46a717d786cc7bfad26ff21.tar.gz
searxng-83e48fa89bd28a38b46a717d786cc7bfad26ff21.zip
flake8 fix
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py1
1 files changed, 1 insertions, 0 deletions
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())