Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix get_user auth issue #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix get_user auth issue #9

wants to merge 1 commit into from

Conversation

zrnsm
Copy link

@zrnsm zrnsm commented Feb 1, 2015

This example produces the following when launched in filter mode:

Traceback (most recent call last):
  File "streamwatcher.py", line 91, in <module>
    main()
  File "streamwatcher.py", line 75, in main
    user = tweepy.API().get_user(username)
  File "build/bdist.linux-x86_64/egg/tweepy/binder.py", line 239, in _call
  File "build/bdist.linux-x86_64/egg/tweepy/binder.py", line 189, in execute
tweepy.error.TweepError: Failed to send request: local variable 'auth' referenced before assignment

This seems to be because we're not passing auth when constructing the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant