projects
/
rainbowstream.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for extended tweets in twitter.statuses calls
[rainbowstream.git]
/
rainbowstream
/
draw.py
diff --git
a/rainbowstream/draw.py
b/rainbowstream/draw.py
index
75e7577
..
fcc976c
100644
(file)
--- a/
rainbowstream/draw.py
+++ b/
rainbowstream/draw.py
@@
-184,7
+184,7
@@
def draw(t, keyword=None, humanize=True, noti=False, fil=[], ig=[]):
# Retrieve tweet
tid = t['id']
- text = t
['text']
+ text = t
.get('full_text', t.get('text'))
screen_name = t['user']['screen_name']
name = t['user']['name']
created_at = t['created_at']