From: BenoƮt Fontaine Date: Sun, 29 Oct 2017 16:44:27 +0000 (+0100) Subject: fix bug notes X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=75f2d21e7c755f2f2b82a4d9d50b8cedcd163148;p=gamesguru%2Fgetmyancestors.git fix bug notes --- diff --git a/getmyancestors.py b/getmyancestors.py index 04fcc6e..12b20ff 100755 --- a/getmyancestors.py +++ b/getmyancestors.py @@ -679,7 +679,8 @@ class Fam: temp.add(contributors['name']) if temp: text = 'Contributeurs :\n' + '\n'.join(sorted(temp)) - for n in self.tree.notes: + notes = self.tree.notes + for n in notes: if n.text == text: self.notes.add(n) return