Twitter Error display bug in Python 3
[rainbowstream.git] / rainbowstream / rainbow.py
index 206f84d1aa694ef4e95e8a6ad8491eb3ab2daa67..f06b510aa708d39896a8fa0ef1f07ba9b7b15514 100644 (file)
@@ -2073,6 +2073,8 @@ def stream(domain, args, name='Rainbow Stream'):
         printNicely(
             magenta("We have connection problem with twitter'stream API right now :("))
         detail_twitter_error(e)
+        sys.stdout.write(g['decorated_name'](c['PREFIX']))
+        sys.stdout.flush()
 
 
 def fly():