[fix] polygons

This commit is contained in:
Al
2016-04-19 10:15:31 -04:00
parent c7ea5d9637
commit efc40c5698

View File

@@ -222,7 +222,7 @@ class PolygonIndex(object):
def save_properties(self, out_filename):
out = open(out_filename, 'w')
json.dump({'num_polygons': str(self.i)})
json.dump({'num_polygons': str(self.i)}, out)
def save_polygons(self, out_filename):
out = open(out_filename, 'w')