mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-04-03 18:52:28 -04:00
Conversations: Ignores deleted tweets and 404 errors
This commit is contained in:
parent
c4e2c3b57a
commit
7139a2bcb3
@ -1071,7 +1071,10 @@ class conversationBufferController(searchBufferController):
|
|||||||
self.ids.append(self.tweet["id"])
|
self.ids.append(self.tweet["id"])
|
||||||
tweet = self.tweet
|
tweet = self.tweet
|
||||||
while tweet["in_reply_to_status_id"] != None:
|
while tweet["in_reply_to_status_id"] != None:
|
||||||
tweet = self.session.twitter.twitter.show_status(id=tweet["in_reply_to_status_id"])
|
try:
|
||||||
|
tweet = self.session.twitter.twitter.show_status(id=tweet["in_reply_to_status_id"])
|
||||||
|
except TwythonError as err:
|
||||||
|
break
|
||||||
self.statuses.insert(0, tweet)
|
self.statuses.insert(0, tweet)
|
||||||
self.ids.append(tweet["id"])
|
self.ids.append(tweet["id"])
|
||||||
if tweet["in_reply_to_status_id"] == None:
|
if tweet["in_reply_to_status_id"] == None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user