First release

This commit is contained in:
spla 2021-05-19 15:48:19 +02:00
parent b62d414cc9
commit e18beb8c3f

View file

@ -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)