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()