From: Josh Roesslein Date: Mon, 18 Oct 2010 02:40:58 +0000 (-0500) Subject: Fix an error in the Stream class. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a70c752a5ad2d5eeb4f2e44876956754e86e006e;p=tweepy.git Fix an error in the Stream class. --- diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 8b35b8e..4fd34a1 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -82,7 +82,7 @@ class Stream(object): self.scheme = "http" self.api = API() - self.headers = headers or {} + self.headers = options.get("headers") or {} self.body = None def _run(self):