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 = int(delimited_string) )
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