geography: bad copy/paste. Points are at the same level.

This commit is contained in:
SNoiraud 2015-03-19 19:45:20 +01:00
parent 115b16ffb7
commit a3c923d180

View File

@ -221,11 +221,9 @@ class Kml(GObject.GObject):
for subAttribute in attributes:
if subAttribute.tag == self.tag + 'name':
self.name = subAttribute.text
for subsubAttribute in subAttribute:
if subsubAttribute.tag == self.tag + 'Point':
self.get_point(subsubAttribute)
self.markers.append((self.name,
self.points))
self.markers.append((self.name, self.points))
return self.markers
GObject.type_register(Kml)