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

UnboundLocalError: local variable 'response' referenced before assignment #36

Open
chnaski opened this issue Jul 7, 2018 · 0 comments

Comments

@chnaski
Copy link

chnaski commented Jul 7, 2018

Traceback (most recent call last):
  File "main.py", line 10, in <module>
    main()
  File "main.py", line 6, in main
    bot.start()
  File "/Users/danny/instalike-instagram-bot/instabot.py", line 78, in start
    self.follow_bot.act()
  File "/Users/danny/instalike-instagram-bot/instafollow.py", line 79, in act
    self.follow()
  File "/Users/danny/instalike-instagram-bot/instafollow.py", line 52, in follow
    if (response.status_code != 200):
UnboundLocalError: local variable 'response' referenced before assignment
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

No branches or pull requests

1 participant