summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-06-29 11:20:08 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-06-29 11:20:08 +0200
commitbfb9070f4fb2e8f84387a0727331c929f09d122d (patch)
tree5d1bc033eb5413fb6e1dc9b4eeb781a32bac4593 /pykolab
parent9dafa8b521b08b8b269215f4b55ee1cbf3a39d75 (diff)
downloadpykolab-bfb9070f4fb2e8f84387a0727331c929f09d122d.tar.gz
Regard the input as utf-8, convert to utf-7/imap
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/cli/cmd_rename_mailbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/cli/cmd_rename_mailbox.py b/pykolab/cli/cmd_rename_mailbox.py
index 80098e2..7432e08 100644
--- a/pykolab/cli/cmd_rename_mailbox.py
+++ b/pykolab/cli/cmd_rename_mailbox.py
@@ -70,5 +70,5 @@ def execute(*args, **kw):
print >> sys.stderr, _("Target folder %r already exists") % (target_folder)
sys.exit(1)
- imap.imap.rename(source_folder, target_folder, partition)
+ imap.imap.rename(imap.folder_utf7(source_folder), imap.folder_utf7(target_folder), partition)