Generate public rather than unlisted toots because reasons, idk

This commit is contained in:
Danielle McLean 2018-09-21 11:43:36 +10:00
parent 3a79c96a3c
commit 64edf6aa6e
Signed by: 00dani
GPG key ID: 8EB789DDF3ABD240

4
gen.py
View file

@ -326,8 +326,8 @@ if media != None:
#this is an image post!
mediaID = client.media_post(media, description = media_description)
client.status_post(media_description.replace("\n", " "),
media_ids = [mediaID], visibility = "unlisted")
media_ids = [mediaID], visibility = "public")
print("Created media toot: " + media_description)
else:
client.status_post(status = toot, visibility = "unlisted")
client.status_post(status = toot, visibility = "public")
print("Created toot: {}".format(toot))