From 18af725d93f68e737e6db11988d3a690464bf674 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 18 Aug 2001 03:48:35 +0000 Subject: [PATCH] Check for null place svn: r339 --- src/Marriage.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Marriage.py b/src/Marriage.py index 3e60e4eb9..c6066d0bc 100644 --- a/src/Marriage.py +++ b/src/Marriage.py @@ -198,8 +198,11 @@ class Marriage: if not event: return detail = get_detail_flags(event) - self.event_list.append([text,event.getQuoteDate(), - event.getPlace().get_title(),detail]) + if event.getPlace(): + p = event.getPlace().get_title() + else: + p = "" + self.event_list.append([text,event.getQuoteDate(),p,detail]) self.event_list.set_row_data(self.lines,event) self.lines = self.lines + 1