Make this pretty, for readability.
This commit is contained in:
parent
e9109af2f6
commit
5579d8e76b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue