Commit 1b73470e authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Fix streaming to properly parse next object length.

parent aa6a31d5
......@@ -157,7 +157,7 @@ class Stream(object):
delimited_string += d
# read the next twitter status object
if delimited_string.isdigit():
if delimited_string.strip().isdigit():
next_status_obj = resp.read( int(delimited_string) )
self._data(next_status_obj)
......
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