First release

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

Veure arxiu

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