aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-01 18:16:56 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-01 18:16:56 +0200
commit07b5021d4c2f9ab53ae5c56326477c76238c6572 (patch)
treec3bc7d90ebe496b66827a523e65e1fae1b5ed101 /pyaggr3g470r
parentUpdated french translations. (diff)
downloadnewspipe-07b5021d4c2f9ab53ae5c56326477c76238c6572.tar.gz
newspipe-07b5021d4c2f9ab53ae5c56326477c76238c6572.tar.bz2
newspipe-07b5021d4c2f9ab53ae5c56326477c76238c6572.zip
Bugfix.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index e9b2e509..f9a44228 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -119,7 +119,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())
#
bgstack15