diff --git a/twoot.py b/twoot.py index c2f13fe..71935e2 100755 --- a/twoot.py +++ b/twoot.py @@ -1204,9 +1204,9 @@ def main(argv): toot = {} try: if len(media_ids) == 0: - toot = mastodon.status_post(tweet['tweet_text']) + toot = mastodon.status_post(tweet['tweet_text'], replied_to_toot) else: - toot = mastodon.status_post(tweet['tweet_text'], media_ids=media_ids) + toot = mastodon.status_post(tweet['tweet_text'], replied_to_toot, media_ids=media_ids) except MastodonAPIError: # Assuming this is an: