date.get_start_date has no attribute 'is_valid'
svn: r21292
This commit is contained in:
parent
7ae88f69aa
commit
859293f74b
@ -121,7 +121,7 @@ class ProbablyAlive(object):
|
||||
ev = self.db.get_event_from_handle(ev_ref.ref)
|
||||
if ev and ev.type.is_death_fallback():
|
||||
death_date = ev.get_date_object()
|
||||
if death_date.get_start_date().is_valid():
|
||||
if death_date.is_valid():
|
||||
explain = _("death-related evidence")
|
||||
else:
|
||||
death_date = Today() # before today
|
||||
|
Loading…
Reference in New Issue
Block a user