From 0f3df6ad248bf1090337ec6c22fff202c3510a77 Mon Sep 17 00:00:00 2001 From: codl Date: Mon, 11 Mar 2019 12:12:04 +0100 Subject: [PATCH] remove leftover debug print, standardise task prints --- tasks.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tasks.py b/tasks.py index b489c94..15f40c2 100644 --- a/tasks.py +++ b/tasks.py @@ -99,7 +99,7 @@ def make_dormant(acc): @unique def fetch_acc(id_): account = Account.query.get(id_) - print(f'fetching {account}') + print("Fetching {}".format(account)) try: if not account.fetch_history_complete: oldest = (db.session.query(Post) @@ -140,7 +140,6 @@ def fetch_acc(id_): since_id = None - print('max_id: {}, since_id: {}'.format(max_id, since_id)) fetch_posts = noop if (account.service == 'twitter'): fetch_posts = libforget.twitter.fetch_posts @@ -267,7 +266,7 @@ def delete_from_account(account_id): break if to_delete: - print("deleting {}".format(to_delete)) + print("Deleting {}".format(to_delete)) account.touch_delete() action(to_delete) account.reset_backoff()