[fix] var name

This commit is contained in:
Al
2016-07-28 23:53:55 -04:00
parent 08f39d6b80
commit f38bb151e2

View File

@@ -865,8 +865,8 @@ class OSMAddressFormatter(object):
for props, poly in iter(self.components.osm_admin_rtree):
point = poly.context.representative_point()
lat = pt.y
lon = pt.x
lat = point.y
lon = point.x
props['lat'] = lat
props['lon'] = lon
place_tags, country = self.node_place_tags(tags)