Check for null event
svn: r205
This commit is contained in:
parent
4668da7c26
commit
aff15f8638
@ -254,6 +254,8 @@ class IndividualPage:
|
|||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
def write_fam_fact(self,event):
|
def write_fam_fact(self,event):
|
||||||
|
|
||||||
|
if event == None:
|
||||||
|
return
|
||||||
name = event.getName()
|
name = event.getName()
|
||||||
date = event.getDate()
|
date = event.getDate()
|
||||||
place = event.getPlace()
|
place = event.getPlace()
|
||||||
|
Loading…
Reference in New Issue
Block a user