Closed vincentbernat closed 10 years ago
This ensures that we only get JSON data when redirecting the output to a file.
Hummm, doesn't work with python2...
We should probably use sys.std(out|err).write() instead
sys.std(out|err).write()
For some reason, I didn't receive a notification about your answer... I am updating the PR.
:metal:
This ensures that we only get JSON data when redirecting the output to a file.