ggaughan / pipe2py

A project to compile Yahoo! Pipes into Python (see it hosted on Google App Engine: http://pipes-engine.appspot.com)
http://wiki.github.com/ggaughan/pipe2py
GNU General Public License v2.0
317 stars 51 forks source link

Fixes #24: reparse JSON string in pipe query results #25

Closed nauhygon closed 10 years ago

nauhygon commented 10 years ago

This is to fix issue #24. Test if the attribute for pipe definition, query -> results -> json -> PIPE -> working, is a string. If so, then we parse it into JSON. From the old comments, it seemed to be a change in YQL. Using the guard, both cases should work.

ggaughan commented 10 years ago

Thanks for the report and Oak for the fix.