Commit 519994dc authored by Steve Jones's avatar Steve Jones
Browse files

Update tweepy/streaming.py

parent 5d275bc7
......@@ -153,8 +153,10 @@ class Stream(object):
delimited_string = c
# read rest of delimiter length..
d = ''
while d != '\n' and self.running and not resp.isclosed():
delimited_string += resp.read(1)
d = resp.read(1)
delimited_string += d
# read the next twitter status object
if delimited_string.isdigit():
......
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