fixed bot double-printing posts

This commit is contained in:
Amber 2022-04-04 17:54:37 -05:00
parent 06e2ed890a
commit 44ada8ad00
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: