From c388049783dcf4433881395258e18b6a23008eca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 27 Jun 2023 05:19:30 +0200 Subject: [PATCH] Continued: - added or processed? ;-) --- fba/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fba/utils.py b/fba/utils.py index 79fb52f..c8d6eea 100644 --- a/fba/utils.py +++ b/fba/utils.py @@ -221,8 +221,8 @@ def process_block(blocker: str, blocked: str, reason: str, block_level: str) -> logger.debug("blocker='%s',blocked='%s',reason='%s',block_level='%s' - CALLED!", blocker, blocked, reason, block_level) domain_helper.raise_on(blocker) domain_helper.raise_on(blocked) - procesed = False + added = False if not isinstance(reason, str) and reason is not None: raise ValueError(f"Parameter reason[]='{type(reason)}' is not of type 'str'") elif not isinstance(block_level, str): @@ -239,5 +239,5 @@ def process_block(blocker: str, blocked: str, reason: str, block_level: str) -> blocks.update_last_seen(blocker, blocked, block_level) logger.debug("added='%s' - EXIT!", added) - return procesed + return added \ No newline at end of file -- 2.39.5