PEP-8 fix

This commit is contained in:
Ben Busby 2021-04-06 11:33:47 -04:00
parent 6c557557e7
commit 0acfcf5cbe
No known key found for this signature in database
GPG Key ID: 3B08611DF6E62ED2

View File

@ -153,7 +153,8 @@ class Filter:
if src.startswith(LOGO_URL):
# Re-brand with Whoogle logo
element.replace_with(BeautifulSoup(render_template('logo.html', dark=self.dark)))
element.replace_with(BeautifulSoup(
render_template('logo.html', dark=self.dark)))
return
elif src.startswith(GOOG_IMG) or GOOG_STATIC in src:
element['src'] = BLANK_B64