From f7ee9ca84ecb1b207f5efcde11807f38a13006c1 Mon Sep 17 00:00:00 2001 From: Alex Huddleston Date: Sat, 2 Mar 2019 18:14:41 -0600 Subject: [PATCH] one more change. --- multipub_runtime.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multipub_runtime.py b/multipub_runtime.py index 99fea5b..77bceaa 100644 --- a/multipub_runtime.py +++ b/multipub_runtime.py @@ -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)