2
0
mirror of https://github.com/codl/forget synced 2025-01-09 06:03:06 +01:00
This commit is contained in:
codl 2017-08-04 16:41:12 +02:00
parent 9eef536e0f
commit fdf7148cf1
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A

View File

@ -123,7 +123,7 @@ def delete_from_account(account_id):
filter(~Post.id.in_(latest_n_posts)).\
order_by(db.func.random()).limit(100).all()
posts = refresh_account(account_id)
posts = refresh_posts(posts)
if account.service == 'twitter':
eligible = list((post for post in posts if not account.policy_keep_favourites or not post.favourite))
if eligible: