1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 20:17:45 +01:00

flake8 fix

This commit is contained in:
Alexandre Flament 2015-04-25 12:05:35 +02:00
parent cde37be4f5
commit 83e48fa89b

View File

@ -112,6 +112,7 @@ _category_names = (gettext('files'),
outgoing_proxies = settings.get('outgoing_proxies', None) outgoing_proxies = settings.get('outgoing_proxies', None)
@babel.localeselector @babel.localeselector
def get_locale(): def get_locale():
locale = request.accept_languages.best_match(settings['locales'].keys()) locale = request.accept_languages.best_match(settings['locales'].keys())