Fix blank line
authorOrakaro <nhatminh_179@hotmail.com>
Tue, 26 Nov 2019 13:55:38 +0000 (22:55 +0900)
committerOrakaro <nhatminh_179@hotmail.com>
Tue, 26 Nov 2019 13:55:38 +0000 (22:55 +0900)
rainbowstream/rainbow.py

index 822f3bb110597c050e669cbab4282834ae00b0e0..a7007ccee7aeb02de7398bc9f80398a0ec14f9c4 100644 (file)
@@ -341,7 +341,8 @@ def poll():
         g['since_id'] = result[0]['id']
     for tweet in reversed(result):
         draw(t=tweet)
-    printNicely('')
+    if result:
+        printNicely('')
 
 def home():
     """