Changed check for WHOOGLE_MINIMAL

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

View File

@ -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: