From: Roland Häder Date: Sat, 30 Sep 2023 11:29:26 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fe01da5f317c2a970fd69d01e1c90e69c600dfbb;p=fba.git Continued: - row["software"] is the proper way here, ops --- diff --git a/fba/commands.py b/fba/commands.py index fa8a8a9..ad84515 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -1296,7 +1296,7 @@ def recheck_obfuscation(args: argparse.Namespace) -> int: # c.s isn't part of oliphant's "hidden" blocklists logger.debug("row[domain]='%s'", row["domain"]) - if row["domain"] != "chaos.social" and not software_helper.is_relay(software) and not blocklists.has(row["domain"]): + if row["domain"] != "chaos.social" and not software_helper.is_relay(row["software"]) and not blocklists.has(row["domain"]): logger.debug("Invoking instances.set_total_blocks(%s, %d) ...", row["domain"], len(blocking)) instances.set_last_blocked(row["domain"]) instances.set_total_blocks(row["domain"], blocking)