From: Orakaro Date: Fri, 20 Jun 2014 15:55:25 +0000 (+0900) Subject: https X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=147bb4a28c631cc797c8bbf116e070c3eac38c82;p=rainbowstream.git https --- diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index 7bad2f1..e659175 100644 --- 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(