From 2aacca294fef5e1c04bcc1939728da3f49a71e86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 7 Jun 2023 02:54:15 +0200 Subject: [PATCH] Continued: - parameter 'software' is no longer available --- fba/commands.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fba/commands.py b/fba/commands.py index 9fbda99..ae2b57e 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -31,6 +31,8 @@ from fba import blocks from fba import boot from fba import config from fba import fba +from fba import instances + from fba.federation import * def check_instance(args: argparse.Namespace) -> int: @@ -144,10 +146,10 @@ def fetch_blocks(args: argparse.Namespace): if software == "pleroma": print(f"INFO: blocker='{blocker}',software='{software}'") - pleroma.fetch_blocks(blocker, software, origin, nodeinfo_url) + pleroma.fetch_blocks(blocker, origin, nodeinfo_url) elif software == "mastodon": print(f"INFO: blocker='{blocker}',software='{software}'") - mastodon.fetch_blocks(blocker, software, origin, nodeinfo_url) + mastodon.fetch_blocks(blocker, origin, nodeinfo_url) elif software == "friendica" or software == "misskey": print(f"INFO: blocker='{blocker}',software='{software}'") try: -- 2.39.5