From: Roland Häder Date: Tue, 1 Oct 2024 20:05:59 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ddefb76165508ebd829506f19daee6e4acb8a5d6;p=fba.git Continued: - a little commata must be added ... :-( --- diff --git a/fba/commands.py b/fba/commands.py index 7bb6ef0..0e8c17f 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -1634,7 +1634,7 @@ def fetch_instances_social(args: argparse.Namespace) -> int: locking.acquire() source_domain = "instances.social" - domains = dict() + domains = list() if config.get("instances_social_api_key") == "": logger.error("API key not set. Please set in your config.json file.") diff --git a/fba/helpers/blocklists.py b/fba/helpers/blocklists.py index c2128ee..de314a5 100644 --- a/fba/helpers/blocklists.py +++ b/fba/helpers/blocklists.py @@ -68,7 +68,7 @@ csv_files = ( { "blocker": "pleroma.envs.net", "csv_url": "https://seirdy.one/pb/pleroma.envs.net.csv", - } + }, ) def has(domain: str) -> bool: