aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-03 11:48:59 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-03 11:48:59 +0200
commit707cbf0d512de43ff9f07adc8fc223548dc87c14 (patch)
treecda9f2df532a8901200cdeca50966c45ce70ae50 /pyaggr3g470r/views.py
parentUpdated translations for the French language. (diff)
downloadnewspipe-707cbf0d512de43ff9f07adc8fc223548dc87c14.tar.gz
newspipe-707cbf0d512de43ff9f07adc8fc223548dc87c14.tar.bz2
newspipe-707cbf0d512de43ff9f07adc8fc223548dc87c14.zip
Forgot to remove debug comment.
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 82c35bb2..76343ead 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