include dm in timeline
[rainbowstream.git] / rainbowstream / draw.py
index 4360d469c6b859e948f930f817cffa86787e4dca..24416623de480802460c92dfd56d31944c96625e 100644 (file)
@@ -232,7 +232,7 @@ def draw(t, iot=False, keyword=None, check_semaphore=False, fil=[], ig=[]):
     # Highlight keyword
     tweet = ' '.join(tweet)
     if keyword:
-        roj = re.search(keyword,tweet,re.IGNORECASE)
+        roj = re.search(keyword, tweet, re.IGNORECASE)
         if roj:
             occur = roj.group()
             ary = tweet.split(occur)