summaryrefslogtreecommitdiffstats
path: root/pykolab/cli/cmd_list_deleted_mailboxes.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/cli/cmd_list_deleted_mailboxes.py')
-rw-r--r--pykolab/cli/cmd_list_deleted_mailboxes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/cli/cmd_list_deleted_mailboxes.py b/pykolab/cli/cmd_list_deleted_mailboxes.py
index 305a129..d39f890 100644
--- a/pykolab/cli/cmd_list_deleted_mailboxes.py
+++ b/pykolab/cli/cmd_list_deleted_mailboxes.py
@@ -75,7 +75,7 @@ def execute(*args, **kw):
mbox_parts = imap.parse_mailfolder(folder)
if not conf.raw:
- print "%s (Deleted at %s)" % (imap_utf7.decode(folder), datetime.datetime.fromtimestamp(int(mbox_parts['hex_timestamp'], 16)))
+ print "%s (Deleted at %s)" % (imap_utf7.decode(folder).encode('utf-8'), datetime.datetime.fromtimestamp(int(mbox_parts['hex_timestamp'], 16)))
else:
print "%s (Deleted at %s)" % (folder, datetime.datetime.fromtimestamp(int(mbox_parts['hex_timestamp'], 16)))