Skip to content

Commit 6aac2e1

Browse files
Refactor the code according to PEP8.
1 parent 1e1f49b commit 6aac2e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: send_email.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def send_email(receiver_email):
8484

8585
try:
8686
# try to create a secure SSL context
87-
with smtplib.SMTP_SSL(host=host, port=port, context=context) as server:
87+
with smtplib.SMTP_SSL(host, port, context=context) as server:
8888
server.login(sender_email, password=password)
8989
server.sendmail(
9090
to_addrs=receiver_email,

0 commit comments

Comments
 (0)