summaryrefslogtreecommitdiffstats
path: root/pykolab/imap
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-08 13:39:32 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-08 13:39:32 +0100
commit720c111b46bc4c558e93d752cf6152a588536d8f (patch)
tree574fd7718be951e7f935673aae89f2b1818138e4 /pykolab/imap
parent07ef012ce1660979b53b8b383c19444f164bf50b (diff)
downloadpykolab-720c111b46bc4c558e93d752cf6152a588536d8f.tar.gz
Use the configured quota attribute
Diffstat (limited to 'pykolab/imap')
-rw-r--r--pykolab/imap/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/imap/__init__.py b/pykolab/imap/__init__.py
index 0c77a54..ee7e722 100644
--- a/pykolab/imap/__init__.py
+++ b/pykolab/imap/__init__.py
@@ -385,7 +385,7 @@ class IMAP(object):
elif type(user[_inbox_folder_attr]) == str:
folder = "user/%s" % user[_inbox_folder_attr]
elif type(user) == str:
- quota = auth.get_user_attribute(user, 'quota')
+ quota = auth.get_user_attribute(user, _quota_attr)
folder = "user/%s" % (user)
folder = folder.lower()