From 4d67906ad858b912f22c38cdcaadee194502e938 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 19 Nov 2023 16:43:21 +0100 Subject: [PATCH] Continued: - added debug lines (each loop should start with a debug line) --- fba/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fba/commands.py b/fba/commands.py index 44ffb30..e10ab32 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -1040,6 +1040,7 @@ def fetch_oliphant(args: argparse.Namespace) -> int: logger.debug("Downloading %d files ...", len(blocklists.oliphant_blocklists)) for block in blocklists.oliphant_blocklists: # Is domain given and not equal blocker? + logger.debug("block[blocker]='%s',block[csv_url]='%s'", block["blocker"], block["csv_url"]) if isinstance(args.domain, str) and args.domain != block["blocker"]: logger.debug("Skipping blocker='%s', not matching args.domain='%s'", block["blocker"], args.domain) continue -- 2.39.5