From 4aacad3676d2b30b58270a71ab407c07efabf936 Mon Sep 17 00:00:00 2001 From: Al Date: Mon, 4 Apr 2016 21:43:05 -0400 Subject: [PATCH] [fix] var scope --- scripts/geodata/polygons/index.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/geodata/polygons/index.py b/scripts/geodata/polygons/index.py index d1a5094e..7602e86b 100644 --- a/scripts/geodata/polygons/index.py +++ b/scripts/geodata/polygons/index.py @@ -13,6 +13,8 @@ from shapely.geometry.geo import mapping from geodata.polygons.area import polygon_bounding_box_area +DEFAULT_POLYS_FILENAME = 'polygons.geojson' + class PolygonIndex(object): include_only_properties = None @@ -22,7 +24,6 @@ class PolygonIndex(object): INDEX_FILENAME = None POLYGONS_DB_DIR = 'polygons' - DEFAULT_POLYS_FILENAME = 'polygons.geojson' def __init__(self, index=None, polygons=None, polygons_db=None, save_dir=None, index_filename=None,