Assign a title to a place that does not have a title.

svn: r798
This commit is contained in:
Don Allingham 2002-02-24 21:43:07 +00:00
parent e310468f60
commit 813f7cb425

View File

@ -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: