Fix streaming API regression. Thanks Pascal Jurgens!
authorJosh Roesslein <jroesslein@gmail.com>
Sat, 3 Oct 2009 19:13:18 +0000 (14:13 -0500)
committerJosh Roesslein <jroesslein@gmail.com>
Sat, 3 Oct 2009 19:13:18 +0000 (14:13 -0500)
CONTRIBUTORS
tweepy/streaming.py

index 63e6624230f8049fe2406ec6edefc49a9daa26e9..a49cbf56c7e787617d237285da94fc655b695405 100644 (file)
@@ -4,3 +4,5 @@ Thomas Bohmbach, Jr
     - GAE fixes
 Mark Lango  
     - Ignore key arguments with value of None
+Pascal Jurgens
+    - Streaming API fix
index 738d05ed513ec30521eeaec02f44772a9b44521f..93c8c0914e9b1a22a6c56693220749b77d5fc59b 100644 (file)
@@ -131,7 +131,7 @@ class Stream(object):
 
             # turn json data into status object
             if 'in_reply_to_status_id' in data:
-                status = parse_status(data, self.api)
+                status = parse_status(json.loads(data), self.api)
                 if self.listener.on_status(status) == False:
                     self.running = False
             elif 'delete' in data: