Fix NameError in getquotaroot(), sanctioned by Piers.
This commit is contained in:
parent
c1dd174682
commit
41b71b2f4f
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue