From e8e4a66f391d500365863f0335ea48e90ebc3d47 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 9 Jun 2023 00:15:29 +0200 Subject: [PATCH] Continued: - "blocked" needs to be "reject" to be in align with other software --- fba/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)}'") -- 2.39.5