Make this pretty, for readability.

This commit is contained in:
Ralph Bean 2016-12-01 17:30:13 +00:00
parent e9109af2f6
commit 5579d8e76b

View file

@ -16,6 +16,6 @@ response = requests.get(
)
data = response.json()
with open(filename, 'wb') as f:
f.write(json.dumps(data).encode('utf-8'))
f.write(json.dumps(data, indent=2).encode('utf-8'))
print "Wrote %s" % filename