From fc10a8ed5ea8bfd33a270434e8b1304d9ede2bc0 Mon Sep 17 00:00:00 2001 From: DUO Labs Date: Tue, 26 Oct 2021 07:39:43 -0400 Subject: [PATCH] Changed check for WHOOGLE_MINIMAL Co-authored-by: Ben Busby --- app/filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/filter.py b/app/filter.py index fd3bd34..e446b42 100644 --- a/app/filter.py +++ b/app/filter.py @@ -187,7 +187,7 @@ class Filter: # Loop through results and check for the number of child divs in each for result in self.main_divs: result_children = pull_child_divs(result) - if str(os.getenv('WHOOGLE_MINIMAL',0))=="1": + if read_config_bool('WHOOGLE_MINIMAL'): if len(result_children) in (1,3): continue else: