From: Roland Häder Date: Wed, 7 Jun 2023 00:54:15 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2aacca294fef5e1c04bcc1939728da3f49a71e86;p=fba.git Continued: - parameter 'software' is no longer available --- 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: