From a5c206db4ebe8bc3fb71d480acd1db09924cf307 Mon Sep 17 00:00:00 2001 From: Josh Roesslein Date: Sat, 3 Oct 2009 14:13:18 -0500 Subject: [PATCH] Fix streaming API regression. Thanks Pascal Jurgens! --- CONTRIBUTORS | 2 ++ tweepy/streaming.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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: -- 2.25.1