First release
This commit is contained in:
pare
b62d414cc9
commit
e18beb8c3f
S'han modificat 1 arxius amb 2 adicions i 3 eliminacions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Referencia en una nova incidència