oauth_callback_url cleanup #73
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ class Twython(object):
|
||||||
}
|
}
|
||||||
|
|
||||||
# Use old-style callback argument if server didn't accept new-style
|
# Use old-style callback argument if server didn't accept new-style
|
||||||
if callback_url != 'oob' and not oauth_callback_confirmed:
|
if callback_url and not oauth_callback_confirmed:
|
||||||
auth_url_params['oauth_callback'] = callback_url
|
auth_url_params['oauth_callback'] = callback_url
|
||||||
|
|
||||||
request_tokens['auth_url'] = self.authenticate_url + '?' + urllib.urlencode(auth_url_params)
|
request_tokens['auth_url'] = self.authenticate_url + '?' + urllib.urlencode(auth_url_params)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue