Try to fix "Tabs and spaces" issue

This commit is contained in:
DUO Labs 2022-02-01 20:31:53 -05:00 committed by GitHub
parent ce83bffc6e
commit 790e6198d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,11 +170,11 @@ 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):
result.decompose()
continue
if len(result_children) < self.RESULT_CHILD_LIMIT:
continue
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:
continue
else:
if len(result_children) < self.RESULT_CHILD_LIMIT:
continue