OOPS oops oops oops oops
This commit is contained in:
parent
891f584dac
commit
1039da665b
2
tasks.py
2
tasks.py
|
@ -150,7 +150,7 @@ def delete_from_account(account_id):
|
||||||
for post in eligible:
|
for post in eligible:
|
||||||
lib.twitter.delete(post)
|
lib.twitter.delete(post)
|
||||||
else:
|
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))
|
print("deleting {}".format(post))
|
||||||
lib.twitter.delete(post)
|
lib.twitter.delete(post)
|
||||||
account.touch_delete()
|
account.touch_delete()
|
||||||
|
|
Loading…
Reference in New Issue