From: Roland Häder Date: Thu, 18 May 2023 21:54:23 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=967ddffa548f610101d9ef74df19f3aecafaed70;p=fba.git Continued: - some instances don't have a block list --- diff --git a/fetch_blocks.py b/fetch_blocks.py index 6b0e060..343b67b 100644 --- a/fetch_blocks.py +++ b/fetch_blocks.py @@ -27,6 +27,10 @@ for blocker, software in fba.c.fetchall(): f"https://{blocker}/nodeinfo/2.1.json", headers=fba.headers, timeout=5 ).json()["metadata"]["federation"] + if "enabled" in federation: + # NOISY-DEBUG: print("DEBUG: Instance has no block list to analyze:", blocker) + continue + if "mrf_simple" in federation: for block_level, blocks in ( {**federation["mrf_simple"],