From: Roland Häder Date: Tue, 27 Jun 2023 03:19:30 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c388049783dcf4433881395258e18b6a23008eca;p=fba.git Continued: - added or processed? ;-) --- 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