From a3663705adeb8bc2ee156b76a456fd334d417ee5 Mon Sep 17 00:00:00 2001 From: balki <3070606-balki@users.noreply.gitlab.com> Date: Wed, 19 Dec 2018 22:32:40 -0500 Subject: [PATCH] again --- mail4one/pop3.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mail4one/pop3.py b/mail4one/pop3.py index 0745941..0914dc9 100644 --- a/mail4one/pop3.py +++ b/mail4one/pop3.py @@ -220,7 +220,8 @@ async def transaction_stage(deleted_items_path: Path): mails_list = [entry for entry in get_mails_list(Session.mails_path / 'new') if entry.uid not in deleted_items] - return await process_transactions(mails_list) + new_deleted_items: Set = await process_transactions(mails_list) + return deleted_items.union(new_deleted_items) def delete_messages(delete_ids, deleted_items_path: Path):