Commit 8322cf62 authored by Or Arbel's avatar Or Arbel
Browse files

'MyStreamListener' object is not callable"

Fix for "TypeError: 'MyStreamListener' object is not callable"
parent 920f5c49
......@@ -66,7 +66,7 @@ We need an api to stream. See :ref:`auth_tutorial` to learn how to get an api ob
Once we have an api and a status listener we can create our stream object.::
myStreamListener = MyStreamListener()
myStream = tweepy.Stream(auth = api.auth, listener=myStreamListener())
myStream = tweepy.Stream(auth = api.auth, listener=myStreamListener)
Step 3: Starting a Stream
=========================
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment