From 2a846502497b78abd9d399773a623dc566a11095 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 30 Jun 2001 13:23:47 +0000 Subject: [PATCH] Check for null event svn: r205 --- src/plugins/WebPage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/WebPage.py b/src/plugins/WebPage.py index 86dd7b445..a1b612d56 100644 --- a/src/plugins/WebPage.py +++ b/src/plugins/WebPage.py @@ -254,6 +254,8 @@ class IndividualPage: #-------------------------------------------------------------------- def write_fam_fact(self,event): + if event == None: + return name = event.getName() date = event.getDate() place = event.getPlace()