From 5500c3a504ce26001f6bd367f80524b0d0fa226d Mon Sep 17 00:00:00 2001 From: inactivist Date: Fri, 21 Sep 2012 08:05:41 -0700 Subject: [PATCH] Fixes for tweepy/tweepy issue #208 (https://github.com/tweepy/tweepy/issues/208) merged from origin/http_dumper branch... --- tweepy/streaming.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 3e6910f..db5a1f7 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -135,9 +135,8 @@ class Stream(object): raise def _data(self, data): - for d in [dt for dt in data.split('\n') if dt]: - if self.listener.on_data(d) is False: - self.running = False + if self.listener.on_data(d) is False: + self.running = False def _read_loop(self, resp): -- 2.25.1