From fdf7148cf1f520cc13cdbb2ff654151059f31c08 Mon Sep 17 00:00:00 2001 From: codl Date: Fri, 4 Aug 2017 16:41:12 +0200 Subject: [PATCH] bad! --- tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index fbbd9d9..3b8f520 100644 --- a/tasks.py +++ b/tasks.py @@ -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: