Today() needs to be prefaced with modules, gen.lib.date

svn: r23140
This commit is contained in:
Doug Blank 2013-09-16 18:01:12 +00:00
parent 3aed22835e
commit 4b76d67c07

View File

@ -615,7 +615,7 @@ class ProbablyAlive(object):
if ev and ev.type.is_death_fallback():
death_date = ev.get_date_object()
if not death_date.is_valid():
death_date = Today() # before today
death_date = gen.lib.date.Today() # before today
death_date.set_modifier(Date.MOD_BEFORE)
# If they were born within X years before current year then