9865: Can not link the place on geography view

This commit is contained in:
SNoiraud 2017-01-02 11:30:49 +01:00
parent 0be00be4d9
commit 5f2a6df0d0

View File

@ -194,7 +194,10 @@ class PlaceSelection(ManagedWindow, OsmGps):
self.oldvalue)
)
for place in self.places:
p = (place[0].value, place[1], place[2], place[3])
if isinstance(place[0], str):
p = (place[0], place[1], place[2], place[3])
else:
p = (place[0].value, place[1], place[2], place[3])
self.plist.append(p)
# here, we could add value from geography names services ...