fixed bot double-printing posts
This commit is contained in:
parent
ad6eafa05e
commit
ae0eadb10a
1
gen.py
1
gen.py
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue