Skip to content

Commit aa5a408

Browse files
committed
Tiny + vs % bug was causing SMTP to fail.
1 parent dae8082 commit aa5a408

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

oauth2/clients/smtp.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ def authenticate(self, url, consumer, token):
1111
if token is not None and not isinstance(token, oauth2.Token):
1212
raise ValueError("Invalid token.")
1313

14-
self.docmd('AUTH', 'XOAUTH %s' + \
14+
self.docmd('AUTH', 'XOAUTH %s' % \
1515
base64.b64encode(oauth2.build_xoauth_string(url, consumer, token)))
16-

0 commit comments

Comments
 (0)