summaryrefslogtreecommitdiffstats
path: root/pykolab/plugins/recipientpolicy
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:20:53 +0100
commitfe80686531bcb8f68b3fa4beef5b277152046ffb (patch)
treeb3b19d43416379a987d2a485e3e2df0b7bdf505b /pykolab/plugins/recipientpolicy
parent06acf4fbccf0d9f2a986145116aef45eb754e517 (diff)
downloadpykolab-fe80686531bcb8f68b3fa4beef5b277152046ffb.tar.gz
Pull the correct default locale (#883)
Diffstat (limited to 'pykolab/plugins/recipientpolicy')
-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'