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', '')