From 7ebb2148434215e86701137369b0f756db222c7c Mon Sep 17 00:00:00 2001 From: Jack Li Date: Wed, 26 Oct 2022 02:10:14 -0500 Subject: [PATCH] hot fix --- apps/pushnotification/constants.py | 4 ++-- secret.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/pushnotification/constants.py b/apps/pushnotification/constants.py index 4623b0c..2f740e7 100644 --- a/apps/pushnotification/constants.py +++ b/apps/pushnotification/constants.py @@ -1,7 +1,7 @@ -from ...secret import MAILER_PW +import os port = 465 # For starttls smtp_server = "smtp.gmail.com" sender_email = "noreply.ticketmasterbestseat@gmail.com" subject = "Message from Ticketmaster Ticket Tracker" -app_password = MAILER_PW +app_password = os.environ.get('MAILER_PW', '') diff --git a/secret.py b/secret.py index e396b52..b99bdc6 100644 --- a/secret.py +++ b/secret.py @@ -1,4 +1,3 @@ import os CONN_SRV = os.environ.get('CONN_SRV') -MAILER_PW = os.environ.get('MAILER_PW', '')