Error in boolean test !
authorThierry Florac <tflorac@ulthar.net>
Wed, 19 Sep 2018 17:18:54 +0200
changeset 964 ca1064e94ad2
parent 963 fff756709617
child 965 ba8e4e41aa59
Error in boolean test !
src/pyams_content/component/paragraph/container.py
--- a/src/pyams_content/component/paragraph/container.py	Wed Sep 19 16:00:08 2018 +0200
+++ b/src/pyams_content/component/paragraph/container.py	Wed Sep 19 17:18:54 2018 +0200
@@ -47,7 +47,7 @@
                     yield paragraph
         else:
             for paragraph in self.values():
-                if IBroken.providedBy(paragraph) or not not paragraph.visible:
+                if IBroken.providedBy(paragraph) or not paragraph.visible:
                     continue
                 if anchors_only and not paragraph.anchor:
                     continue