diff --git a/src/RelLib.py b/src/RelLib.py index 5aca3f5cc..fd060f847 100644 --- a/src/RelLib.py +++ b/src/RelLib.py @@ -655,18 +655,12 @@ class Family: self.Marriage = event def getMarriage(self): - if self.Marriage == None: - self.Marriage = Event() - self.Marriage.name = "Marriage" return self.Marriage def setDivorce(self,event): self.Divorce = event def getDivorce(self): - if self.Divorce == None: - self.Divorce = Event() - self.Divorce.name = "Marriage" return self.Divorce def addEvent(self,event) :