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

NameError: name 'y' is not defined #18

Open
AldrichMascarenhas opened this issue Jul 22, 2016 · 2 comments
Open

NameError: name 'y' is not defined #18

AldrichMascarenhas opened this issue Jul 22, 2016 · 2 comments

Comments

@AldrichMascarenhas
Copy link

Prompt only shows up IF i open the link in Browser. Doesn't show up otherwise.
On saying 'y' I get a Name Error

File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1836, in call

return self.wsgi_app(environ, start_response)

File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1820, in wsgi_app

response = self.make_response(self.handle_exception(e))

File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1403, in handle_exception

reraise(exc_type, exc_value, tb)

File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app

response = self.full_dispatch_request()

File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request

rv = self.handle_user_exception(e)

File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception

reraise(exc_type, exc_value, tb)

File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request

rv = self.dispatch_request()

File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request

return self.view_functionsrule.endpoint

File "/home/aldy/Downloads/tinder-detective-master/app.py", line 13, in index

profiles = stalker.get_profiles()

File "/home/aldy/Downloads/tinder-detective-master/api.py", line 143, in get_profiles

friends = self.get_facebook_friends_tinder_ids()

File "/home/aldy/Downloads/tinder-detective-master/api.py", line 86, in get_facebook_friends_tinder_ids

be_creepy = input("Sure you want to look at your Facebook friends' Tinder profiles? They might not like that. 🔒 [y/n]: ").lower() in ("y", "yes")

File "", line 1, in

@AldrichMascarenhas
Copy link
Author

Running Linux Mint in VMware on Win10

@defaultnamehere
Copy link
Owner

You need to use Python 3 =]

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

2 participants