projects
/
rainbowstream.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97def8f
)
Iterate over the original_tweet variable, not the tweet module
author
Jeppe Toustrup
<tenzer@tenzer.dk>
Wed, 4 Mar 2015 12:17:21 +0000
(13:17 +0100)
committer
Jeppe Toustrup
<tenzer@tenzer.dk>
Wed, 4 Mar 2015 12:17:21 +0000
(13:17 +0100)
rainbowstream/rainbow.py
patch
|
blob
|
blame
|
history
diff --git
a/rainbowstream/rainbow.py
b/rainbowstream/rainbow.py
index 9aa5d448529d2ae1c82a1811d63fe6c21c76bbda..742930e0a53f14297120a62fcf589be05d1e7b22 100644
(file)
--- a/
rainbowstream/rainbow.py
+++ b/
rainbowstream/rainbow.py
@@
-531,7
+531,7
@@
def reply_all():
original_tweet = t.statuses.show(id=tid)
text = original_tweet['text']
nick_ary = [original_tweet['user']['screen_name']]
- for user in
tweet['entities']['user_mentions']
:
+ for user in
list(original_tweet['entities']['user_mentions'])
:
if user['screen_name'] not in nick_ary \
and user['screen_name'] != g['original_name']:
nick_ary.append(user['screen_name'])