Normalize name

This commit is contained in:
Klaus-Uwe Mitterer 2017-03-24 17:14:14 +01:00
parent b6fc92e3c8
commit 97bfea2f24

View file

@ -27,7 +27,7 @@ class twObject:
def authenticate(self):
try:
authurl = self.auth.get_authorization_url()
except tweepy.TweepError:
except tweepy.error.TweepError:
return False
print(authurl)
@ -38,7 +38,7 @@ class twObject:
try:
self.auth.get_access_token(pin)
except tweepy.TweepError:
except tweepy.error.TweepError:
return False
return self.auth.access_token, self.auth.access_token_secret