Assign a title to a place that does not have a title.
svn: r798
This commit is contained in:
parent
37b615dc75
commit
1a052554bd
@ -151,7 +151,10 @@ class GrampsParser:
|
||||
|
||||
def start_placeobj(self,attrs):
|
||||
self.placeobj = self.db.findPlaceNoMap(u2l(attrs['id']))
|
||||
self.placeobj.set_title(u2l(attrs['title']))
|
||||
title = u2l(attrs['title'])
|
||||
if title == "":
|
||||
title = u2l(attrs['id'])
|
||||
self.placeobj.set_title(title)
|
||||
self.locations = 0
|
||||
if self.num_places > 0:
|
||||
if self.callback != None and self.count % self.increment == 0:
|
||||
|
Loading…
Reference in New Issue
Block a user