elif software == "friendica" or software == "misskey":
print(f"INFO: blocker='{blocker}',software='{software}'")
if software == "friendica":
- rows = friendica.fetch_blocks(blocker)
+ blocks = friendica.fetch_blocks(blocker)
elif software == "misskey":
- rows = misskey.fetch_blocks(blocker)
+ blocks = misskey.fetch_blocks(blocker)
- print(f"INFO: Checking {len(rows.items())} entries from blocker='{blocker}',software='{software}' ...")
- for block_level, blocklist in rows.items():
+ print(f"INFO: Checking {len(blocks.items())} entries from blocker='{blocker}',software='{software}' ...")
+ for block_level, blocklist in blocks.items():
# DEBUG: print("DEBUG: blocker,block_level,blocklist():", blocker, block_level, len(blocklist))
block_level = tidyup.domain(block_level)
# DEBUG: print("DEBUG: AFTER-block_level:", block_level)