From: BenoƮt Fontaine Date: Wed, 1 Nov 2017 19:22:00 +0000 (+0100) Subject: fix bug notes X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=3dfe4a98ecfa4da69348e3880788a1a3c7707dc0;p=gamesguru%2Fgetmyancestors.git fix bug notes --- 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