From 26038164ecc0b6fd88575e11f1b4ab1e72de71c9 Mon Sep 17 00:00:00 2001 From: romjerome Date: Wed, 25 Jan 2017 14:41:54 +0100 Subject: [PATCH] 9904: revert ee150c1 TODO: need a solution for recursive iteration and private records --- gramps/plugins/drawreport/ancestortree.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gramps/plugins/drawreport/ancestortree.py b/gramps/plugins/drawreport/ancestortree.py index d13e7bf29..35f9b0065 100644 --- a/gramps/plugins/drawreport/ancestortree.py +++ b/gramps/plugins/drawreport/ancestortree.py @@ -231,16 +231,15 @@ class MakeAncestorTree(AscendPerson): myself.text = self.calc_items.calc_person(index, indi_handle, fams_handle) - if indi_handle: - myself.add_mark(self.database, - self.database.get_person_from_handle(indi_handle)) + myself.add_mark(self.database, + self.database.get_person_from_handle(indi_handle)) self.canvas.add_box(myself) #make the lines indx = index[LVL_GEN] self.lines[indx] = myself - if 1 < indx < 8: + if indx > 1: if self.lines[indx-1].line_to is None: line = LineBase(self.lines[indx-1]) self.lines[indx-1].line_to = line