From 0cedf783d9636c75b53a78ae8051126543e801bf Mon Sep 17 00:00:00 2001 From: Kumi Date: Mon, 7 Feb 2022 14:57:00 +0100 Subject: [PATCH] Delete mmm on completion --- worker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/worker.py b/worker.py index 2911cc2..f8fd2d8 100644 --- a/worker.py +++ b/worker.py @@ -22,6 +22,7 @@ messages = [] for f in tempdir.glob("*.mmm"): mission = Mission.fromFile(f) messages.append(mission.to_message()) + f.unlink() smtp = SMTP.fromConfig(config)