From c849bab5f1e2b9b9596b9c542ea72c83198044ca Mon Sep 17 00:00:00 2001 From: Travis Semple Date: Tue, 10 Dec 2024 17:33:53 -0800 Subject: [PATCH] print email attachments folder --- jobs/notebook-report/notebookreport.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jobs/notebook-report/notebookreport.py b/jobs/notebook-report/notebookreport.py index acc21a10f..ab1862145 100644 --- a/jobs/notebook-report/notebookreport.py +++ b/jobs/notebook-report/notebookreport.py @@ -100,6 +100,7 @@ def process_email_attachments(filenames, message): f"attachment; filename= {file}", ) file = os.path.join(os.getcwd(), r"data/") + file + print(os.listdir(os.path.join(os.getcwd(), r"data/"))) with open(file, "rb") as attachment: part.set_payload(attachment.read()) encoders.encode_base64(part)