Skip to content

Commit

Permalink
Merge pull request #18 from icegreg/development
Browse files Browse the repository at this point in the history
Fix: smtp hmac doesn't like unicode password string
  • Loading branch information
gotlium committed Jul 15, 2015
2 parents 840b01d + c68bfde commit bc08fc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbmail/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ def get_auth(self):
return dict(
host=self.credential.host,
port=self.credential.port,
username=self.credential.username,
password=self.credential.password,
username=str(self.credential.username),
password=str(self.credential.password),
use_tls=self.credential.use_tls,
fail_silently=self.credential.fail_silently
)
Expand Down

0 comments on commit bc08fc6

Please sign in to comment.