Fix bug in JSONParser.parse() which causes it to return None
authorDavid Laban <david.laban@conversocial.com>
Tue, 26 Jul 2016 14:17:06 +0000 (15:17 +0100)
committerDavid Laban <david.laban@conversocial.com>
Tue, 26 Jul 2016 14:17:06 +0000 (15:17 +0100)
commit776070ef2ecd2f21347b9db50f004edb85edd423
tree4dd9af18b5771d2345bc7c1bc034a79908014185
parentcd46550b3ef068857f5de9c37bbdd0a72acb7462
Fix bug in JSONParser.parse() which causes it to return None

Re-combine tower-of-ifs into a single if/else.

Fixes #765
tweepy/parsers.py