mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
fixing a CI error
This commit is contained in:
parent
c408c7c8a4
commit
ba773abaeb
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ class GmailTransport(EmailTransport):
|
|||
# Try to use oauth2 first. It's much safer
|
||||
try:
|
||||
self._connect_oauth(username)
|
||||
except (TypeError, ValueError), e:
|
||||
except (TypeError, ValueError) as e:
|
||||
print " Couldn't do oauth2", e
|
||||
self.server = self.transport(self.hostname, self.port)
|
||||
typ, msg = self.server.login(username, password)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue