defaultnamehere / tinder-detective

Find your Facebook friends' Tinder profiles. Don't actually use this by the way that's weird. Not even in a good way.
MIT License
701 stars 60 forks source link

NameError: name 'y' is not defined #18

Open AldrichMascarenhas opened 8 years ago

AldrichMascarenhas commented 8 years ago

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 commented 8 years ago

Running Linux Mint in VMware on Win10

defaultnamehere commented 8 years ago

You need to use Python 3 =]