From a4eb3a84da909e615495fe0b7018e05af4bb93ee Mon Sep 17 00:00:00 2001 From: Adam Sher Date: Wed, 17 May 2023 14:40:24 -0400 Subject: [PATCH] Implemented database and reporting for daily loaners. Also removed temp email address --- src/devicekiosk.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/devicekiosk.py b/src/devicekiosk.py index f52621e..5ddd585 100644 --- a/src/devicekiosk.py +++ b/src/devicekiosk.py @@ -445,8 +445,7 @@ def emailDailyReport(self, body): msg['Subject'] = 'Daily Loaner Report' msg.set_content(body) msg['From'] = self.config["smtp_user"] - # msg['To'] = self.config["daily_email_list"] - msg['To'] = "asher@tolland.k12.ct.us" + msg['To'] = self.config["daily_email_list"] # Send the message via Gmail SMTP server s = smtplib.SMTP("smtp.gmail.com", 587)