From 2bf874382f4cc4aa2b3cf1c081b5b61badd0cd4e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Fontaine?= Date: Thu, 26 Oct 2017 13:24:09 +0200 Subject: [PATCH] fix bug notes --- getmyancestors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/getmyancestors.py b/getmyancestors.py index 3256b54..04fcc6e 100755 --- a/getmyancestors.py +++ b/getmyancestors.py @@ -538,7 +538,8 @@ class Indi: 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 -- 2.52.0