From 0bf354a3770ff9ac2adc258be3431a549132d033 Mon Sep 17 00:00:00 2001 From: msk <15199219+muskit@users.noreply.github.com> Date: Wed, 28 Sep 2022 03:04:11 -0700 Subject: [PATCH] console print-out changes --- src/catchup.py | 2 +- src/util.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/catchup.py b/src/catchup.py index 9cef2eb..821468e 100644 --- a/src/catchup.py +++ b/src/catchup.py @@ -115,7 +115,7 @@ async def get_cross_talent_tweets(queue_path): print('Pulling tweets from online!') try: for i, (talent_id, talent_username) in enumerate(talent_lists.talents.items()): - print(f'[{i+1}/{len(talent_lists.talents)}]{util.get_username(talent_id)}----------------------------') + print(f'[{i+1}/{len(talent_lists.talents)}] {talent_username}-----------------------------------') try: # tweets = get_user_tweets(talent_id, since_timestamp=1663698621) # shorten test runs tweets = get_user_tweets(talent_id, since_timestamp=finished_user_timestamps.get(talent_id, None)) diff --git a/src/util.py b/src/util.py index 32551a8..cb0108a 100644 --- a/src/util.py +++ b/src/util.py @@ -53,6 +53,7 @@ async def create_ttweet_image(ttweet): ) except: print('unable to create tweet image') + traceback.print_exc() return None else: print(f'successfully saved {img}')