Skip to content

Commit

Permalink
Refactor the code according to PEP8.
Browse files Browse the repository at this point in the history
  • Loading branch information
emidiovaleretto committed Nov 26, 2021
1 parent 1e1f49b commit 6aac2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion send_email.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def send_email(receiver_email):

try:
# try to create a secure SSL context
with smtplib.SMTP_SSL(host=host, port=port, context=context) as server:
with smtplib.SMTP_SSL(host, port, context=context) as server:
server.login(sender_email, password=password)
server.sendmail(
to_addrs=receiver_email,
Expand Down

0 comments on commit 6aac2e1

Please sign in to comment.