Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Commit

Permalink
commented out debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhmoses committed Jul 22, 2019
1 parent a29cb60 commit c8c4544
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions BhamCalEmailSender.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ def sendMail(email, linkToCal):
def getCustomEmail(linkToCal):
print("making custom email")
orig = getMessageHTML()
print(linkToCal)
#print(linkToCal)
message_text = orig.replace("LINK_GOES_HERE", linkToCal)
print(message_text)
#print(message_text)
return message_text

def getMessageHTML():
Expand Down Expand Up @@ -93,4 +93,3 @@ def CreateMessage(sender, to, subject, message_text):
message['from'] = sender
message['subject'] = subject
return {'raw': base64.urlsafe_b64encode(message.as_bytes()).decode()}

0 comments on commit c8c4544

Please sign in to comment.