From 4b76d67c07fd1d672fda5dd50a905a9d71e57870 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Mon, 16 Sep 2013 18:01:12 +0000 Subject: [PATCH] Today() needs to be prefaced with modules, gen.lib.date svn: r23140 --- src/Utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils.py b/src/Utils.py index edb6e11e1..9dc46d950 100644 --- a/src/Utils.py +++ b/src/Utils.py @@ -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