]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 30 Sep 2023 11:29:26 +0000 (13:29 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 30 Sep 2023 11:29:26 +0000 (13:29 +0200)
- row["software"] is the proper way here, ops

fba/commands.py

index fa8a8a91710b62513f0abda64b50feb4f0be151c..ad8451510cc7730d4a26bf8f8011098ee82178fe 100644 (file)
@@ -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)