From: Roland Häder Date: Thu, 8 Jun 2023 22:15:29 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e8e4a66f391d500365863f0335ea48e90ebc3d47;p=fba.git Continued: - "blocked" needs to be "reject" to be in align with other software --- diff --git a/fba/commands.py b/fba/commands.py index f6706d5..809ee21 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -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)}'")