add logging for finding an unfinished tweet
This commit is contained in:
@@ -70,6 +70,7 @@ class TalentTweetQueue:
|
|||||||
ttweet = tt.TalentTweet.deserialize(line)
|
ttweet = tt.TalentTweet.deserialize(line)
|
||||||
if ttweet.tweet_id in self.ttweets_dict:
|
if ttweet.tweet_id in self.ttweets_dict:
|
||||||
self.ttweets_dict[ttweet.tweet_id] = ttweet
|
self.ttweets_dict[ttweet.tweet_id] = ttweet
|
||||||
|
print(f'adding unfinished tweet {ttweet.tweet_id}')
|
||||||
# finished ttweets
|
# finished ttweets
|
||||||
try:
|
try:
|
||||||
with open(self.finished_ttweets_path, 'r') as f:
|
with open(self.finished_ttweets_path, 'r') as f:
|
||||||
|
|||||||
Reference in New Issue
Block a user