Archiving an IMAP folder with --all didn't archive *any* messages.

The message sequence numbers must be strings, but were generated as integers;
fixed.
This commit is contained in:
Nikolaus Schulz 2008-03-19 18:30:43 +00:00
parent efe02ea32a
commit 26ab4611ec
1 changed files with 1 additions and 1 deletions

View File

@ -1414,7 +1414,7 @@ def _archive_imap(mailbox_name, final_archive_name):
# deleted.
if options.archive_all:
message_list = range(1, total_msg_count+1)
message_list = [str(n) for n in range(1, total_msg_count+1)]
else:
imap_filter = build_imap_filter()
vprint("imap filter: '%s'" % imap_filter)