PEP-8 fix
This commit is contained in:
parent
6c557557e7
commit
0acfcf5cbe
|
@ -153,7 +153,8 @@ class Filter:
|
||||||
|
|
||||||
if src.startswith(LOGO_URL):
|
if src.startswith(LOGO_URL):
|
||||||
# Re-brand with Whoogle logo
|
# 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
|
return
|
||||||
elif src.startswith(GOOG_IMG) or GOOG_STATIC in src:
|
elif src.startswith(GOOG_IMG) or GOOG_STATIC in src:
|
||||||
element['src'] = BLANK_B64
|
element['src'] = BLANK_B64
|
||||||
|
|
Loading…
Reference in New Issue
Block a user