1
0
Fork 0
forked from 0x2620/oxjs

update geo module

This commit is contained in:
rolux 2011-11-23 15:53:17 +01:00
commit e0d4dd3bec
1619 changed files with 6021 additions and 686370 deletions

View file

@ -1,15 +0,0 @@
import json
import os
import ox
base_path = os.path.dirname(__file__)
if base_path:
os.chdir(base_path)
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()