mirror of
https://git.code.sf.net/p/archivemail/code
synced 2025-03-12 15:52:50 +00:00
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:
parent
efe02ea32a
commit
26ab4611ec
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue