Commit 5500c3a5 authored by inactivist's avatar inactivist
Browse files

Fixes for tweepy/tweepy issue #208

(https://github.com/tweepy/tweepy/issues/208)
 merged from origin/http_dumper branch...
parent a4b6c49e
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment