Fix an error in the Stream class.
authorJosh Roesslein <jroesslein@gmail.com>
Mon, 18 Oct 2010 02:40:58 +0000 (21:40 -0500)
committerJosh Roesslein <jroesslein@gmail.com>
Mon, 18 Oct 2010 02:40:58 +0000 (21:40 -0500)
tweepy/streaming.py

index 8b35b8e7d979e44439d8e71ffc05408a54beb193..4fd34a19a022c4b7ae33fb01de3c22ff9b449f58 100644 (file)
@@ -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):