From e621e134ad19942d034a6880a3f49acdb27ce32c Mon Sep 17 00:00:00 2001 From: stevenc987 Date: Thu, 31 Mar 2022 11:58:08 -0700 Subject: [PATCH] Stop producing the Weekly restoration expiry job #11651 (#1229) * Stop producing the Weekly restoration expiry job #11651 Signed-off-by: Chen * Stop producing the Weekly restoration expiry job #11651 Signed-off-by: Chen --- jobs/notebook-report/notebookreport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/notebook-report/notebookreport.py b/jobs/notebook-report/notebookreport.py index 611da288f..abf3f2f72 100644 --- a/jobs/notebook-report/notebookreport.py +++ b/jobs/notebook-report/notebookreport.py @@ -88,7 +88,7 @@ def send_email(subject, filename, emailtype, errormessage): email_list = recipients.strip('][').split(', ') logging.info('Email recipients list is: %s', email_list) server.sendmail(sender_email, email_list, message.as_string()) - logging.info('Email with subject %s has been sent successfully!', email_list) + logging.info('Email with subject %s has been sent successfully!', subject) server.quit() os.remove(os.getenv('DATA_DIR', '')+filename)