projects
/
rainbowstream.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0462812
)
https
author
Orakaro
<nhatminh_179@hotmail.com>
Fri, 20 Jun 2014 15:55:25 +0000
(
00:55
+0900)
committer
Orakaro
<nhatminh_179@hotmail.com>
Fri, 20 Jun 2014 15:55:25 +0000
(
00:55
+0900)
rainbowstream/rainbow.py
patch
|
blob
|
blame
|
history
diff --git
a/rainbowstream/rainbow.py
b/rainbowstream/rainbow.py
index 7bad2f1283e8a189e6ddcd5a594b8afb5582590e..e65917533c3f05636c55348295b71bda72870be9 100644
(file)
--- a/
rainbowstream/rainbow.py
+++ b/
rainbowstream/rainbow.py
@@
-128,7
+128,7
@@
def draw(t, iot=False, keyword=None, fil=[], ig=[]):
# Highlight screen_name
tweet = map(lambda x: cycle_color(x) if x[0] == '@' else x, tweet)
# Highlight link
- tweet = map(lambda x: cyan(x) if x[0:
7] == 'http://
' else x, tweet)
+ tweet = map(lambda x: cyan(x) if x[0:
4] == 'http
' else x, tweet)
# Highlight search keyword
if keyword:
tweet = map(