]> jfr.im git - z_archive/twitter.git/blobdiff - twitter/stream_example.py
use non timeout mode for all streams in the sample tester
[z_archive/twitter.git] / twitter / stream_example.py
index 2888aced4c05e8681ab5bca63c1dcc640e991699..8f5da3a64e6e2f38ea71bcbe8e2db0b81c244c37 100644 (file)
@@ -46,7 +46,7 @@ def main():
         stream = TwitterStream(auth=auth, domain='sitestream.twitter.com')
         tweet_iter = stream.site()
     else:
-        stream = TwitterStream(auth=auth, timeout=60.0)
+        stream = TwitterStream(auth=auth)
         tweet_iter = stream.statuses.sample()
 
     # Iterate over the sample stream.