summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-07-16 13:20:53 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-07-16 13:21:15 +0100
commitcbb5c341c5cb5be7ecb1b6ea527f5fac253ba7b2 (patch)
treee6dd4a5fd393e590bb254cb34e00a3126b70e83f
parent178687649d3b74e472b1751ded10304a168391d3 (diff)
downloadpykolab-cbb5c341c5cb5be7ecb1b6ea527f5fac253ba7b2.tar.gz
Pull the correct default locale (#883)
-rw-r--r--pykolab/plugins/recipientpolicy/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/plugins/recipientpolicy/__init__.py b/pykolab/plugins/recipientpolicy/__init__.py
index 1c97857..9d50e83 100644
--- a/pykolab/plugins/recipientpolicy/__init__.py
+++ b/pykolab/plugins/recipientpolicy/__init__.py
@@ -64,7 +64,7 @@ class KolabRecipientpolicy(object):
if not user_attrs.has_key('preferredlanguage'):
default_locale = conf.get(user_attrs['domain'], 'default_locale')
if default_locale == None:
- default_locale = conf.get(user_attrs['domain'], 'default_locale')
+ default_locale = conf.get('kolab', 'default_locale')
if default_locale == None:
default_locale = 'en_US'