]> Nutra Git (v2) - gamesguru/getmyancestors.git/commitdiff
fix bug notes
authorBenoît Fontaine <benoitfontaine.ba@gmail.com>
Sun, 29 Oct 2017 16:44:27 +0000 (17:44 +0100)
committerBenoît Fontaine <benoitfontaine.ba@gmail.com>
Sun, 29 Oct 2017 16:44:27 +0000 (17:44 +0100)
getmyancestors.py

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