|
|
|
@ -374,12 +374,11 @@ if __name__ == '__main__':
|
|
|
|
|
print("Tooting...")
|
|
|
|
|
print(toot_text)
|
|
|
|
|
if len(toot_text) < 500:
|
|
|
|
|
#mastodon.status_post(toot_text, in_reply_to_id=None, )
|
|
|
|
|
print("blah")
|
|
|
|
|
mastodon.status_post(toot_text, in_reply_to_id=None, )
|
|
|
|
|
else:
|
|
|
|
|
toot_text1, toot_text2 = toot_text[:int(len(toot_text)/2)], toot_text[int(len(toot_text)/2):]
|
|
|
|
|
toot_id = mastodon.status_post(toot_text1, in_reply_to_id=None,)
|
|
|
|
|
#mastodon.status_post(toot_text2, in_reply_to_id=toot_id,)
|
|
|
|
|
mastodon.status_post(toot_text2, in_reply_to_id=toot_id,)
|
|
|
|
|
print(toot_text1)
|
|
|
|
|
print(toot_text2)
|
|
|
|
|
|
|
|
|
|