Fixed date range error

svn: r43
This commit is contained in:
Don Allingham 2001-05-21 00:56:49 +00:00
parent 22841c3f41
commit 84cf231fc5

View File

@ -171,7 +171,7 @@ def probably_alive(person):
if death.getDate() != "":
return 0
if birth.getDate() != "":
year = birth.getDateObj().getYear()
year = birth.getDateObj().get_start_date().getYear()
time_struct = time.localtime(time.time())
current_year = time_struct[0]
if year != -1 and current_year - year > 110: