diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2013-07-05 19:38:34 +0100 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2013-07-05 19:38:34 +0100 |
commit | ae26c04fefaf11e16601348099952b90bdf5bfc8 (patch) | |
tree | f81705479c1022bf2cc0af0b9f84fe1ccfdc213d | |
parent | f654d9d51a245a6fc3f6b0ff5412f442cbe8c99a (diff) | |
download | pykolab-ae26c04fefaf11e16601348099952b90bdf5bfc8.tar.gz |
Decode the mailbox names in kolab list-mailboxes
-rw-r--r-- | pykolab/cli/cmd_list_mailboxes.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pykolab/cli/cmd_list_mailboxes.py b/pykolab/cli/cmd_list_mailboxes.py index 3451e7c..13d5fd7 100644 --- a/pykolab/cli/cmd_list_mailboxes.py +++ b/pykolab/cli/cmd_list_mailboxes.py @@ -21,6 +21,7 @@ import commands import pykolab +from pykolab import imap_utf7 from pykolab.imap import IMAP from pykolab.translate import _ @@ -76,4 +77,4 @@ def execute(*args, **kw): folders.extend(imap.lm(search)) for folder in folders: - print folder + print imap_utf7.decode(folder) |