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 75e75772d850888fbab7e38f5ee05ea9b2feaf7a..fcc976c336f03097f6cef926c26e6113373a0386 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']