one more change.
This commit is contained in:
parent
1e7c64512b
commit
f7ee9ca84e
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ def main():
|
|||
# Authorize Twitter, initialize tweepy
|
||||
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
|
||||
auth.set_access_token(access_key, access_secret)
|
||||
api = tweepy.API(auth)
|
||||
twitter = tweepy.API(auth)
|
||||
|
||||
# Authorize Mastodon, set api base
|
||||
# TODO: Modularize this
|
||||
|
@ -38,7 +38,7 @@ def main():
|
|||
try:
|
||||
'''
|
||||
# TODO: Change this to be modular and actually do something useful.
|
||||
api.update_status(post)
|
||||
twitter.update_status(post)
|
||||
mastodon.status_post(post)
|
||||
'''
|
||||
print(post)
|
||||
|
|
Reference in a new issue