From: Roland Häder Date: Tue, 3 Oct 2023 19:04:09 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=72f70b2083fa97187f816f7589428277fd661c8a;p=fba.git Continued: - local variable 'block' was defined only within the loop, not outside of it - I actually have to use local variable 'blocker' instead --- diff --git a/fba/commands.py b/fba/commands.py index ea96bf8..5589af7 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -443,7 +443,7 @@ def fetch_blocks(args: argparse.Namespace) -> int: logger.debug("Invoking cookies.clear(%s) ...", block["blocked"]) cookies.clear(block["blocked"]) - logger.info("blocker='%s' has %d obfuscated domain(s) and %d of them could be deobfuscated.", block["blocker"], obfuscated, deobfuscated) + logger.info("blocker='%s' has %d obfuscated domain(s) and %d of them could be deobfuscated.", blocker, obfuscated, deobfuscated) logger.debug("Checking if blocker='%s' has pending updates ...", blocker) if instances.has_pending(blocker):