aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-04 19:34:27 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-04 19:34:27 +0200
commitc6e5893111671b361eff4bcc1e669925c46af66a (patch)
treeb0de493d877b7ce47abd39da9fef49d8a6ad977d /pyaggr3g470r/views.py
parentUpdated translations. (diff)
downloadnewspipe-c6e5893111671b361eff4bcc1e669925c46af66a.tar.gz
newspipe-c6e5893111671b361eff4bcc1e669925c46af66a.tar.bz2
newspipe-c6e5893111671b361eff4bcc1e669925c46af66a.zip
Updated translations.
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r--pyaggr3g470r/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index 362a3f58..4729cd0c 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -118,7 +118,7 @@ def get_locale():
Called before each request to give us a chance to choose
the language to use when producing its response.
"""
- return "fr"#request.accept_languages.best_match(conf.LANGUAGES.keys())
+ return request.accept_languages.best_match(conf.LANGUAGES.keys())
@babel.timezoneselector
def get_timezone():
bgstack15