summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()