From 53b67443f2588816e0aeb40e9d055963412397d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Thu, 18 Apr 2013 09:05:14 +0000 Subject: [PATCH] 6645: unable to do Spanish kinship report, 4185: Julio's patch svn: r22010 --- gramps/plugins/rel/rel_es.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/rel/rel_es.py b/gramps/plugins/rel/rel_es.py index 8cd382c2a..7c6935c67 100644 --- a/gramps/plugins/rel/rel_es.py +++ b/gramps/plugins/rel/rel_es.py @@ -601,7 +601,7 @@ class RelationshipCalculator(gramps.gen.relationship.RelationshipCalculator): # These are cousins in the same generation if Ga == 2: rel_str = "primos hermanos" - elif level < len(_level_name_plural): + elif (Ga-1) < len(_level_name_plural): rel_str = "primos %s" % (_level_name_plural[Ga-1]) else: rel_str = "primos %d-ésimos" % (Ga-1)