ecaldwell/iTunes-Library-Network-Graph — pull request #1 by cgmartin (2013-02-09 05:24:19+00:00)
Title: Output to file edits

Some edits for your review...

* Changed `json.dump(output, outfile)` to `outfile.write(output);`. Calling json.dump() a second time with the json string was escaping the string (and shuffled some things around).
* Added a `-c | --console` option to explicitly output to console. So now, without passing any options to the script the default behavior writes to the file (your original idea, which seems more convenient).

Thoughts?