diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-04-27 17:18:51 -0700 |
---|---|---|
committer | jamesgk <jamesgk19@gmail.com> | 2015-04-27 17:18:51 -0700 |
commit | af55d1249c941a85fa0a334dc45ce3598aca7303 (patch) | |
tree | 7a0682209d53a21e71fecdcc7fbb45ea631f8791 /src/v2/get_dropped_anchors.py | |
parent | b224649b21c4965ddc22b00a50bfe5ff9449e1fc (diff) |
Output anchor json with two-space indentation.
Diffstat (limited to 'src/v2/get_dropped_anchors.py')
-rw-r--r-- | src/v2/get_dropped_anchors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v2/get_dropped_anchors.py b/src/v2/get_dropped_anchors.py index 4d4a19c..3fd5676 100644 --- a/src/v2/get_dropped_anchors.py +++ b/src/v2/get_dropped_anchors.py @@ -52,7 +52,7 @@ def main(): # write the data as json outpath = os.path.join(path, "res", "anchors_%s.json" % weight) with open(outpath, "w") as outfile: - json.dump(fontData, outfile, sort_keys=True, indent=4, + json.dump(fontData, outfile, sort_keys=True, indent=2, separators=(',', ': ')) print "Wrote " + outpath print "Done" |