From a685b96f700dcfc6b953413cb3adc8be61d87438 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Fri, 23 Jul 2021 20:20:10 +0200 Subject: [PATCH] probably-alive incorrect if death without date --- gramps/gen/utils/alive.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/gen/utils/alive.py b/gramps/gen/utils/alive.py index 84d8b62a6..240db5930 100644 --- a/gramps/gen/utils/alive.py +++ b/gramps/gen/utils/alive.py @@ -142,6 +142,8 @@ class ProbablyAlive: # person died more than MAX after current year if death_date.is_valid(): birth_date = death_date.copy_offset_ymd(year=-self.MAX_AGE_PROB_ALIVE) + else: + birth_date = death_date explain = _("death date") if not death_date and birth_date: