From 5f2a6df0d081e0b52743c74b3477ec33b9deed85 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Mon, 2 Jan 2017 11:30:49 +0100 Subject: [PATCH] 9865: Can not link the place on geography view --- gramps/plugins/lib/maps/placeselection.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps/plugins/lib/maps/placeselection.py b/gramps/plugins/lib/maps/placeselection.py index 4138662eb..d02673d57 100644 --- a/gramps/plugins/lib/maps/placeselection.py +++ b/gramps/plugins/lib/maps/placeselection.py @@ -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 ...