[fix] class var

This commit is contained in:
Al
2015-10-13 20:46:12 -04:00
parent 4e34575ed2
commit d151445dc3

View File

@@ -146,7 +146,7 @@ class ReverseGeocoder(RTreePolygonIndex):
else:
have_all_props = True
if not have_all_props or not properties.get(NAME):
if not have_all_props or not properties.get(cls.NAME):
continue
poly_type = rec['geometry']['type']