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: global name 'timezone' is not defined #31

Open aquaye opened 8 years ago

aquaye commented 8 years ago

Had the "timezone -> datetime" issue described in https://github.com/defaultnamehere/tinder-detective/issues/13, but after changing the code on my end, I'm getting this error after running the app.

aquaye commented 8 years ago

Was able to resolve by changing line 8 of api.py to:

"from datetime import *"

KillianDavitt commented 8 years ago

It's possible this issue could have been caused if you were trying to run the app with python2 instead of python3.