Normalize name

This commit is contained in:
Klaus-Uwe Mitterer 2017-03-24 17:14:14 +01:00
parent b6fc92e3c8
commit 97bfea2f24
1 changed files with 2 additions and 2 deletions

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