Fixed date range error
svn: r43
This commit is contained in:
parent
3fc9127754
commit
02a8bd3c3d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user