We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 933feff commit 1418f3aCopy full SHA for 1418f3a
roundup/cgi/client.py
@@ -1,4 +1,4 @@
1
-# $Id: client.py,v 1.222 2006-02-09 23:53:11 richard Exp $
+# $Id: client.py,v 1.223 2006-02-12 11:00:23 a1s Exp $
2
3
"""WWW request handler (also used in the stand-alone server).
4
"""
@@ -411,7 +411,7 @@ def determine_language(self):
411
elif self.cookie.has_key("roundup_language"):
412
language = self.cookie["roundup_language"].value
413
elif self.instance.config["WEB_USE_BROWSER_LANGUAGE"]:
414
- hal = self.env['HTTP_ACCEPT_LANGUAGE']
+ hal = self.env.get('HTTP_ACCEPT_LANGUAGE')
415
language = accept_language.parse(hal)
416
else:
417
language = ""
0 commit comments