Fix indentation issue
This commit is contained in:
parent
a7a0c4906b
commit
4125e49de4
|
@ -169,12 +169,12 @@ class Filter:
|
||||||
# Loop through results and check for the number of child divs in each
|
# 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:
|
||||||
result_children = pull_child_divs(result)
|
result_children = pull_child_divs(result)
|
||||||
if minimal_mode:
|
if minimal_mode:
|
||||||
if any(f">{x}</span" in str(s) for s in result_children for x in minimal_mode_sections):
|
if any(f">{x}</span" in str(s) for s in result_children for x in minimal_mode_sections):
|
||||||
result.decompose()
|
result.decompose()
|
||||||
continue
|
continue
|
||||||
if len(result_children) < self.RESULT_CHILD_LIMIT:
|
if len(result_children) < self.RESULT_CHILD_LIMIT:
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
if len(result_children) < self.RESULT_CHILD_LIMIT:
|
if len(result_children) < self.RESULT_CHILD_LIMIT:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue
Block a user