fixed bot double-printing posts
This commit is contained in:
parent
06e2ed890a
commit
44ada8ad00
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