Inserted some 'continue' so that commenting tooting lines doesn't break the script. Will try to automate this.
This commit is contained in:
1 parent
0c7a2341de
commit
3d8b042dbe
1 file changed
+2
-1
+2
-1
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user