mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-04-20 17:31:45 -04:00
Changed the way used for detecting quoted tweets
This commit is contained in:
parent
9175eda183
commit
178c2a3937
@ -19,7 +19,7 @@
|
|||||||
from twitter import utils
|
from twitter import utils
|
||||||
|
|
||||||
def is_long(tweet):
|
def is_long(tweet):
|
||||||
if "is_quote_status" in tweet and tweet["is_quote_status"] == True and "quoted_status" in tweet:
|
if "quoted_status_id" in tweet and tweet["quoted_status_id"] != None:
|
||||||
return tweet["quoted_status_id"]
|
return tweet["quoted_status_id"]
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user