summaryrefslogtreecommitdiffstats
path: root/pykolab/cli/cmd_rename_mailbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/cli/cmd_rename_mailbox.py')
-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)