]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 14 Apr 2024 09:54:15 +0000 (11:54 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 14 Apr 2024 09:54:15 +0000 (11:54 +0200)
- fixed 'TypeError: not enough arguments for format string'

fba/networks/pleroma.py

index 3769feec08f0611595c38894913d21514390edc5..0da479b4b3234919e18904a9d8a1cfe9a2d529ee 100644 (file)
@@ -126,7 +126,7 @@ def fetch_blocks(domain: str) -> list:
                 logger.debug("blocked='%s' - AFTER!", blocked)
 
                 if blocked in [None, ""]:
-                    logger.warning("blocked[%s]='%s' is empty after tidyup.domain(): domain='%s',block_level='%s' - SKIPPED!", blocked, domain, block_level)
+                    logger.warning("blocked[%s]='%s' is empty after tidyup.domain(): domain='%s',block_level='%s' - SKIPPED!", type(blocked), blocked, domain, block_level)
                     continue
                 elif validators.domain(blocked) and blacklist.is_blacklisted(blocked):
                     logger.debug("blocked='%s' is blacklisted - SKIPPED!")