Comment 3 for bug 623309

Revision history for this message
Charlesschaefer (charlesschaefer) wrote :

I've read the Twitter class code and changed some things trying to the discover the cause of the bug. I think there's something new with twitter (i don't know how is the tech spec about the json format returned by twitter), but for some messages, theres a null value in the returned json.

I've corrected this bug adding this little hack to twitter.py, at line 78:

def _message(self, data): # this line already exists
    if type(data) == type(None) :
       return []