console print-out changes

This commit is contained in:
msk
2022-09-28 03:04:11 -07:00
parent 2e78cb1ed7
commit 0bf354a377
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ async def get_cross_talent_tweets(queue_path):
print('Pulling tweets from online!') print('Pulling tweets from online!')
try: try:
for i, (talent_id, talent_username) in enumerate(talent_lists.talents.items()): 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: try:
# tweets = get_user_tweets(talent_id, since_timestamp=1663698621) # shorten test runs # 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)) tweets = get_user_tweets(talent_id, since_timestamp=finished_user_timestamps.get(talent_id, None))
+1
View File
@@ -53,6 +53,7 @@ async def create_ttweet_image(ttweet):
) )
except: except:
print('unable to create tweet image') print('unable to create tweet image')
traceback.print_exc()
return None return None
else: else:
print(f'successfully saved {img}') print(f'successfully saved {img}')