0006397: Navweb crashes alpha4. date.get_start_date has no attribute 'is_valid'
svn: r21300
This commit is contained in:
parent
41fdca39dd
commit
6ca692e33a
@ -120,7 +120,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