diff options
Diffstat (limited to 'app/builder/base.py')
-rw-r--r-- | app/builder/base.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/builder/base.py b/app/builder/base.py index 6e99003..d626505 100644 --- a/app/builder/base.py +++ b/app/builder/base.py @@ -207,14 +207,12 @@ class BuildProjects(Build): included_fields=['id',], geom_attribute='mpoly', mimetype = 'application/json', - pretty_print=True ) json = str(json) json ="\n".join(json.splitlines()[3:]) #print json - path = 'projects/data/' - fpath = '%s%s.json' %(path, park.id) - self.write_file(fpath,json) + path = 'projects/data/natparks/' + self.write_file(path, json, 'json', park.id) class BuildSitemap(Build): def build(self): |