From: Josh Roesslein Date: Sat, 3 Oct 2009 19:13:18 +0000 (-0500) Subject: Fix streaming API regression. Thanks Pascal Jurgens! X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a5c206db4ebe8bc3fb71d480acd1db09924cf307;p=tweepy.git Fix streaming API regression. Thanks Pascal Jurgens! --- diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 63e6624..a49cbf5 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -4,3 +4,5 @@ Thomas Bohmbach, Jr - GAE fixes Mark Lango - Ignore key arguments with value of None +Pascal Jurgens + - Streaming API fix diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 738d05e..93c8c09 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -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: