Normalize name
This commit is contained in:
parent
b6fc92e3c8
commit
97bfea2f24
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue