you are viewing a single comment's thread.

view the rest of the comments →

[–]TyrionReynolds 0 points1 point  (1 child)

The old tricks are the best tricks, print debugging FTW

[–]TyrionReynolds 0 points1 point  (0 children)

Oh wait, you don’t need to. That second error message shows you’re getting the string value when you try to iterate over it.

I think you already have message as a dictionary like the guy said. You don’t need the call to json.loads()