fixed bot double-printing posts

This commit is contained in:
Amber 2022-04-04 17:54:37 -05:00
parent ad6eafa05e
commit ae0eadb10a
1 changed files with 0 additions and 1 deletions

1
gen.py
View File

@ -47,7 +47,6 @@ if __name__ == '__main__':
toot = "@amber@toot.site Something went fucky" toot = "@amber@toot.site Something went fucky"
client.status_post(toot, visibility='unlisted', spoiler_text="Error!") client.status_post(toot, visibility='unlisted', spoiler_text="Error!")
try: try:
print(toot)
if str(toot) == "": if str(toot) == "":
print("Filtered") print("Filtered")
else: else: