Solved twitter login issue. Wondering. This is such an old code and is r...

...unning on production. This was an issue I faced on tweepy==2.1.