Fix for bug around polylines.

This commit is contained in:
Paul Vincent Craven
2019-08-13 09:57:07 -05:00
parent 7cb7ef5991
commit e1a9cb9104

View File

@@ -580,7 +580,7 @@ def _parse_tiles(
if my_object is None:
polyline = object.findall("./polyline")
if polygon and len(polygon) > 0:
if polyline and len(polyline) > 0:
points = _parse_points(polyline[0].attrib["points"])
my_object = objects.PolylineObject(id_=my_id,
location=(my_x, my_y),