add missing file
This commit is contained in:
parent
8e490eca2e
commit
67e4fe30a2
1 changed files with 10 additions and 0 deletions
10
tools/geo/py/fix_json.py
Normal file
10
tools/geo/py/fix_json.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
import json
|
||||
import ox
|
||||
|
||||
f = open('../json/countries.json')
|
||||
data = json.loads(f.read())
|
||||
f.close()
|
||||
|
||||
f = open('../json/countries.json', 'w')
|
||||
f.write(json.dumps(data, indent=4, sort_keys=True))
|
||||
f.close()
|
Loading…
Reference in a new issue