From: Mike Verdone Date: Wed, 1 Sep 2010 15:47:03 +0000 (+0200) Subject: Always show the URL during the oauth dance. X-Git-Tag: twitter-1.5~8 X-Git-Url: https://jfr.im/git/z_archive/twitter.git/commitdiff_plain/dda98f55989f0f76f9c2d45cf903c4098d68a8c0 Always show the URL during the oauth dance. --- diff --git a/twitter/oauth_dance.py b/twitter/oauth_dance.py index 877da8b..a89bdd2 100644 --- a/twitter/oauth_dance.py +++ b/twitter/oauth_dance.py @@ -31,6 +31,8 @@ type it here: """ oauth_url = ('http://api.twitter.com/oauth/authorize?oauth_token=' + oauth_token) + print "Opening: %s\n" % oauth_url + try: r = webbrowser.open(oauth_url) time.sleep(2) # Sometimes the last command can print some