# HG changeset patch # User Goffi # Date 1581020181 -3600 # Node ID 3d009fec34dafd485868d15c8632baa3ab33a5ed # Parent 442756495a961618561376614091b0643449d420 core (utils): fixed FilterBehavior use of "children" attribute diff -r 442756495a96 -r 3d009fec34da cagou/core/utils.py --- a/cagou/core/utils.py Thu Feb 06 21:16:21 2020 +0100 +++ b/cagou/core/utils.py Thu Feb 06 21:16:21 2020 +0100 @@ -55,7 +55,7 @@ text = text.strip().lower() filtering = len(text)>len(self._filter_last) self._filter_last = text - for child in self.layout.children: + for child in children: if continue_tests is not None and any((t(child) for t in continue_tests)): continue if text in get_child_text(child).lower():