]> Nutra Git (v2) - gamesguru/getmyancestors.git/commitdiff
fix bug notes
authorBenoît Fontaine <benoitfontaine.ba@gmail.com>
Thu, 26 Oct 2017 11:24:09 +0000 (13:24 +0200)
committerBenoît Fontaine <benoitfontaine.ba@gmail.com>
Thu, 26 Oct 2017 11:24:09 +0000 (13:24 +0200)
getmyancestors.py

index 3256b54613ab98372f12084d0e69f0cd0e45e50a..04fcc6eca274618a0456ae6983773a12a30bc191 100755 (executable)
@@ -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