From ddefb76165508ebd829506f19daee6e4acb8a5d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 1 Oct 2024 22:05:59 +0200 Subject: [PATCH] Continued: - a little commata must be added ... :-( --- fba/commands.py | 2 +- fba/helpers/blocklists.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: -- 2.39.5