A few bugfixes

This commit is contained in:
2015-03-24 03:47:16 -06:00
parent e046fdd198
commit f2bb173ddb
3 changed files with 9 additions and 3 deletions

View File

@@ -21,7 +21,6 @@ class twitter(object):
twitter = Twython(keyring.get("api_key"), keyring.get("api_secret"), auth_endpoint='authorize')
auth = twitter.get_authentication_tokens("http://127.0.0.1:{0}".format(port,))
webbrowser.open_new_tab(auth['auth_url'])
# global logged, verifier
while authorisationHandler.logged == False:
httpd.handle_request()
self.twitter = Twython(keyring.get("api_key"), keyring.get("api_secret"), auth['oauth_token'], auth['oauth_token_secret'])