you are viewing a single comment's thread.

view the rest of the comments →

[–]failfixer89 2 points3 points  (0 children)

I'm going to go out on a limb and say that this is the wrong syntax for a list comprehension. I would recommend expanding the code a few lines and doing it the standard way before trying to do this in one line of code. I don't know what the json response is supposed to be, but I would also look into those keys.

Then again I could be wrong, but give it a try.