Fix pep8 issues (8)

This commit is contained in:
DUO Labs 2022-02-07 18:46:55 -05:00 committed by GitHub
parent ee2351f01d
commit 92fa64a945
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,8 +130,7 @@ class Filter:
selected = soup.body.findAll(text=re.compile(search_string))
for result in selected:
result.string.replace_with(
result.string.replace(
result.string.replace_with(result.string.replace(
search_string, ''))
def remove_ads(self) -> None: