highlight
authorvunhat_minh <vunhat_minh@dwango.co.jp>
Fri, 30 May 2014 10:52:59 +0000 (19:52 +0900)
committervunhat_minh <vunhat_minh@dwango.co.jp>
Fri, 30 May 2014 10:52:59 +0000 (19:52 +0900)
rainbowstream/rainbow.py

index d1a794e4bbf7bc31b6ff75fc204eeee07327c2ba..390111188f8a77fd5be7e420e3cb45ac5a2391ed 100644 (file)
@@ -198,7 +198,7 @@ def switch():
                     g['original_name']))
             p.start()
             g['stream_pid'] = p.pid
                     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
     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'):
         elif tweet is Hangup:
             printNicely("-- Hangup --")
         elif tweet.get('text'):
-            draw(t=tweet)
+            draw(t=tweet, keyword=args.track_keywords)
 
 
 def fly():
 
 
 def fly():