From: Roland Häder Date: Wed, 7 Feb 2024 07:55:13 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c5b06b2283aa65aea7146e1af969f64300fc28e6;p=fba.git Continued: - it was imported from previous code and seem not to work everywhere - so let's remove the non-working part --- diff --git a/fba/networks/pleroma.py b/fba/networks/pleroma.py index 4126999..bdccdc2 100644 --- a/fba/networks/pleroma.py +++ b/fba/networks/pleroma.py @@ -105,14 +105,7 @@ def fetch_blocks(domain: str) -> list: if "mrf_simple" in data: logger.debug("Found mrf_simple in API response from domain='%s'", domain) found = True - for block_level, blocklist in ( - { - **data["mrf_simple"], - **{ - "quarantined_instances": data["quarantined_instances"] - } - } - ).items(): + for block_level, blocklist in data["mrf_simple"].items(): logger.debug("block_level='%s', blocklist()=%d", block_level, len(blocklist)) block_level = tidyup.domain(block_level) if block_level != "" else None logger.debug("block_level='%s' - AFTER!", block_level)