summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/imaplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index 47fbafa5..6a27a67 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -441,7 +441,7 @@ class IMAP4:
(typ, [[QUOTAROOT responses...], [QUOTA responses]]) = <instance>.getquotaroot(mailbox)
"""
- typ, dat = self._simple_command('GETQUOTA', root)
+ typ, dat = self._simple_command('GETQUOTA', mailbox)
typ, quota = self._untagged_response(typ, dat, 'QUOTA')
typ, quotaroot = self._untagged_response(typ, dat, 'QUOTAROOT')
return typ, [quotaroot, quota]