mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Fixed an exception where mention to all checkbox was not being shown
This commit is contained in:
parent
9bbe325517
commit
d076ed1f56
@ -69,7 +69,7 @@ def is_geocoded(tweet):
|
||||
def get_all_mentioned(tweet, conf):
|
||||
""" Gets all users that has been mentioned."""
|
||||
string = []
|
||||
for i in tweet["entities"]["user_mentions"][1:]:
|
||||
for i in tweet["entities"]["user_mentions"]:
|
||||
if i["screen_name"] != conf["user_name"] and i["screen_name"] != tweet["user"]["screen_name"]:
|
||||
if i["id"] not in string:
|
||||
string.append(i["id_str"])
|
||||
|
Loading…
Reference in New Issue
Block a user