From b2c048af92426cec2108a28363e09de991a7c984 Mon Sep 17 00:00:00 2001 From: DUO Labs Date: Fri, 11 Feb 2022 16:44:08 -0500 Subject: [PATCH] Fix `collapse_sections` for `MINIMAL_MODE` (#654) --- app/filter.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/filter.py b/app/filter.py index 5fe5115..dda07d8 100644 --- a/app/filter.py +++ b/app/filter.py @@ -205,13 +205,17 @@ class Filter: return # Loop through results and check for the number of child divs in each - for result in self.main_divs: + for result in self.main_divs.find_all(): result_children = pull_child_divs(result) if minimal_mode: if any(f">{x}