Only convert main location to new format if it exists
svn: r16087
This commit is contained in:
parent
bc3ceaf5dc
commit
d5ce999d30
@ -187,6 +187,7 @@ def gramps_upgrade_15(self):
|
||||
for handle in self.place_map.keys():
|
||||
place = self.place_map[handle]
|
||||
new_place = list(place)
|
||||
if new_place[5] is not None:
|
||||
new_place[5] = convert_location(new_place[5])
|
||||
new_place[6] = [convert_location(loc) for loc in new_place[6]]
|
||||
new_place = new_place[:11] + new_place[12:]
|
||||
|
Loading…
Reference in New Issue
Block a user