Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant