]> git.mxchange.org Git - fba.git/blobdiff - fba/networks/mastodon.py
Continued:
[fba.git] / fba / networks / mastodon.py
index b0c22447f19f09d5d270995055111aae2312f5e5..704d4f13847c42064260612c48828804075076d6 100644 (file)
@@ -176,10 +176,6 @@ def fetch_blocks(domain: str) -> list:
                 if not isinstance(block, dict):
                     logger.debug("block[]='%s' is of type 'dict' - SKIPPED!", type(block))
                     continue
-                elif "domain" not in block:
-                    logger.debug("block='%s'", block)
-                    logger.warning("block()=%d does not contain element 'domain' - SKIPPED!", len(block))
-                    continue
                 elif not domain_helper.is_wanted(block["domain"]):
                     logger.debug("block[domain]='%s' is not wanted - SKIPPED!", block["domain"])
                     continue