We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dae8082 commit aa5a408Copy full SHA for aa5a408
1 file changed
oauth2/clients/smtp.py
@@ -11,6 +11,5 @@ def authenticate(self, url, consumer, token):
11
if token is not None and not isinstance(token, oauth2.Token):
12
raise ValueError("Invalid token.")
13
14
- self.docmd('AUTH', 'XOAUTH %s' + \
+ self.docmd('AUTH', 'XOAUTH %s' % \
15
base64.b64encode(oauth2.build_xoauth_string(url, consumer, token)))
16
-
0 commit comments