From f6a82ad95c300dd2ce5614e82e60938fdf9fcc0e Mon Sep 17 00:00:00 2001 From: DUO Labs Date: Wed, 2 Feb 2022 14:48:42 -0500 Subject: [PATCH] pep8 (3) --- app/filter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/filter.py b/app/filter.py index 45b883a..d628704 100644 --- a/app/filter.py +++ b/app/filter.py @@ -14,6 +14,7 @@ import os minimal_mode_sections = ['Top stories', 'Images', 'People also ask'] + def extract_q(q_str: str, href: str) -> str: """Extracts the 'q' element from a result link. This is typically either the link to a result's website, or a string. @@ -171,7 +172,7 @@ class Filter: result_children = pull_child_divs(result) if minimal_mode: if any(f">{x}