From a70c752a5ad2d5eeb4f2e44876956754e86e006e Mon Sep 17 00:00:00 2001 From: Josh Roesslein Date: Sun, 17 Oct 2010 21:40:58 -0500 Subject: [PATCH] Fix an error in the Stream class. --- tweepy/streaming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.25.1