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
1 changed files with 2 additions and 1 deletions

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 "