1
0
mirror of https://github.com/hughrun/ephemetoot synced 2025-01-24 19:01:25 +01:00

test-run works for reblogs too

This commit is contained in:
Mark Eaton 2019-03-05 19:08:52 -05:00
parent a3b9fa6b56
commit 1ef97cfc12

View File

@ -62,7 +62,8 @@ def checkToots(timeline, deleted_count=0):
)
deleted_count += 1
# unreblog the original toot (their toot), not the toot created by boosting (your toot)
mastodon.status_unreblog(toot.reblog)
if not options.test:
mastodon.status_unreblog(toot.reblog)
else:
print(
"❌ deleting toot "