OOPS oops oops oops oops

This commit is contained in:
codl 2017-08-08 16:04:22 +02:00
parent 891f584dac
commit 1039da665b
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ def delete_from_account(account_id):
for post in eligible:
lib.twitter.delete(post)
else:
post = random.choice(list((post for post in posts if not account.policy_keep_favourites or not post.favourite)))
post = random.choice(eligible)
print("deleting {}".format(post))
lib.twitter.delete(post)
account.touch_delete()