Removed an unneeded line in streaming tweets management

This commit is contained in:
Manuel Cortez 2017-12-06 12:53:17 -06:00
parent e10e3b3c49
commit 29c3f1d194
2 changed files with 2 additions and 2 deletions

View File

@ -73,5 +73,5 @@ class timelinesStreamer(TwythonStreamer):
if data["quoted_status"].has_key("extended_tweet"):
data["quoted_status"]["full_text"] = data["quoted_status"]["extended_tweet"]["full_text"]
data["quoted_status"]["entities"] = data["quoted_status"]["extended_tweet"]["entities"]
data["full_text"] = data["text"]
# data["full_text"] = data["text"]
self.check_tls(data)

View File

@ -143,7 +143,7 @@ class streamer(TwythonStreamer):
if data["quoted_status"].has_key("extended_tweet"):
data["quoted_status"]["full_text"] = data["quoted_status"]["extended_tweet"]["full_text"]
data["quoted_status"]["entities"] = data["quoted_status"]["extended_tweet"]["entities"]
data["full_text"] = data["text"]
# data["full_text"] = data["quoted_status"]["full_text"]
if data["user"]["id"] in self.muted_users: return
self.check_mentions(data)
self.check_send(data)