]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Thu, 8 Jun 2023 22:15:29 +0000 (00:15 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 8 Jun 2023 22:15:29 +0000 (00:15 +0200)
- "blocked" needs to be "reject" to be in align with other software

fba/commands.py

index f6706d5e8d7004b727e97295eba5457bc7e721e6..809ee21ddb91d7f7fbfd38d9c9d9d748fda46db9 100644 (file)
@@ -257,7 +257,7 @@ def fetch_cs(args: argparse.Namespace):
     # DEBUG: print(f"DEBUG: args[]={type(args)} - CALLED!")
     domains = {
         "silenced": list(),
-        "blocked": list(),
+        "reject"  : list(),
     }
 
     try:
@@ -273,7 +273,7 @@ def fetch_cs(args: argparse.Namespace):
         blocked = doc.find("h2", {"id": "blocked-instances"}).findNext("table")
 
         # DEBUG: print(f"DEBUG: blocked[]={type(blocked)}")
-        domains["blocked"] = domains["blocked"] + fba.find_domains(blocked)
+        domains["reject"] = domains["reject"] + fba.find_domains(blocked)
 
     except BaseException as e:
         print(f"ERROR: Cannot fetch from meta.chaos.social,exception[{type(e)}]:'{str(e)}'")