svn: r4354
This commit is contained in:
Don Allingham 2005-04-12 16:23:07 +00:00
parent 8cc28ad677
commit 0409d9110f

View File

@ -300,7 +300,7 @@ class EventEditor:
text = unicode(field.get_text().strip()) text = unicode(field.get_text().strip())
if text: if text:
if self.pmap.has_key(text): if self.pmap.has_key(text):
return self.db.get_place_from_handle(self.pdmap[text]) return self.db.get_place_from_handle(self.pmap[text])
else: else:
place = RelLib.Place() place = RelLib.Place()
place.set_title(text) place.set_title(text)