From 3d8b042dbe9cf9e27805ebd15970e7427b93b422 Mon Sep 17 00:00:00 2001 From: Homer S Date: Sun, 5 Apr 2020 11:59:32 +0200 Subject: [PATCH] Inserted some 'continue' so that commenting tooting lines doesn't break the script. Will try to automate this. --- mastobot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mastobot.py b/mastobot.py index 1b223b8..08ecbe4 100644 --- a/mastobot.py +++ b/mastobot.py @@ -113,7 +113,8 @@ for account in transitions: print(mastodon_text) try: - mastodon.status_post(mastodon_text, None, masto_media, True, None,spoiler_text="Twitter RT") + # mastodon.status_post(mastodon_text, None, masto_media, True, None,spoiler_text="Twitter RT") + continue except: print(account['twitter_handle'] + " couldn't toot to fediverse!\n")