Comment 2 for bug 1210590

Revision history for this message
Adam Young (ayoung) wrote :

 Adding in
           if isinstance(d, unicode):
                d = {'id':d}
Seems suspect. It means that something was supposed to be a dictionary, but showed up as unicode. I would expect you to have to convert to string and then to JSON.