From 3dfe4a98ecfa4da69348e3880788a1a3c7707dc0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Fontaine?= Date: Wed, 1 Nov 2017 20:22:00 +0100 Subject: [PATCH] fix bug notes --- getmyancestors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/getmyancestors.py b/getmyancestors.py index 3256b54..ddc95d6 100755 --- a/getmyancestors.py +++ b/getmyancestors.py @@ -221,7 +221,7 @@ class Note: Note.counter += 1 self.num = Note.counter if tree: - tree.notes.add(self) + tree.notes.append(self) self.text = text.strip() @@ -724,7 +724,7 @@ class Tree: self.fs = fs self.indi = dict() self.fam = dict() - self.notes = set() + self.notes = list() self.sources = dict() # add individual to the family tree -- 2.52.0