Fix some more pep8 issues
This commit is contained in:
parent
340e617306
commit
2ca96bba9c
|
@ -170,7 +170,8 @@ class Filter:
|
|||
for result in self.main_divs:
|
||||
result_children = pull_child_divs(result)
|
||||
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()
|
||||
continue
|
||||
if len(result_children) < self.RESULT_CHILD_LIMIT:
|
||||
|
|
Loading…
Reference in New Issue
Block a user