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)