Skip to content

Commit

Permalink
Fix for icloud-photos-downloader#227 - smtp smtplib server_hostname
Browse files Browse the repository at this point in the history
iniitial pull by @nicoh88
  • Loading branch information
menkej committed Jan 4, 2021
1 parent b2eaf1b commit ced9b44
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions CHANGELOG.md
Expand Up @@ -2,8 +2,6 @@

## Unreleased

## 1.7.2 (2021-01-04)

- fix: smtp server_hostname cannot be an empty [#227](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/227)

## 1.7.1 (2020-11-15)
Expand Down
1 change: 0 additions & 1 deletion icloudpd/email_notifications.py
Expand Up @@ -17,7 +17,6 @@ def send_2sa_notification(
logger.info("Sending 'two-step expired' notification via email...")
smtp = smtplib.SMTP(smtp_host, smtp_port)
smtp.set_debuglevel(0)
smtp.connect(smtp_host, smtp_port)
if not smtp_no_tls:
smtp.starttls()

Expand Down

0 comments on commit ced9b44

Please sign in to comment.