From: vunhat_minh Date: Fri, 30 May 2014 10:52:59 +0000 (+0900) Subject: highlight X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1551a7d3037c1470530822380cc0159dd694816c;p=rainbowstream.git highlight --- diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index d1a794e..3901111 100644 --- a/rainbowstream/rainbow.py +++ b/rainbowstream/rainbow.py @@ -198,7 +198,7 @@ def switch(): g['original_name'])) p.start() g['stream_pid'] = p.pid - printNicely(green('stream switched.')) + printNicely(green('Stream switched.')) except: printNicely(red('Sorry I can\'t understand.')) g['prefix'] = False @@ -486,7 +486,7 @@ def stream(domain, args, name='Rainbow Stream'): elif tweet is Hangup: printNicely("-- Hangup --") elif tweet.get('text'): - draw(t=tweet) + draw(t=tweet, keyword=args.track_keywords) def fly():