Formatting

Co-authored-by: Ben Busby <noreply+git@benbusby.com>
This commit is contained in:
DUO Labs 2021-10-26 16:41:26 -04:00 committed by GitHub
parent 25eef25f08
commit 8adc3dccf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,8 @@ def bold_search_terms(response: str, query: str) -> BeautifulSoup:
replace_any_case(nav_str, word) replace_any_case(nav_str, word)
return response return response
def has_ad_content(element: str) -> bool: def has_ad_content(element: str) -> bool:
"""Inspects an HTML element for ad related content """Inspects an HTML element for ad related content