From: Roland Häder Date: Fri, 14 Jun 2024 16:48:25 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3aebfa438c0e76db13ffbb814c39af4a25b0f934;p=fba.git Continued: - fixed exception, need to check is_registered() here first --- diff --git a/fba/helpers/processing.py b/fba/helpers/processing.py index cd19eeb..6c62d90 100644 --- a/fba/helpers/processing.py +++ b/fba/helpers/processing.py @@ -55,7 +55,7 @@ def instance(blocked: str, blocker: str, command: str, force: bool = False) -> b logger.debug("blocked='%s' - AFTER!", blocked) logger.debug("Checking if blocker='%s' has pending data ...", blocker) - if instances.has_pending(blocker): + if instances.is_registered(blocker) and instances.has_pending(blocker): logger.debug("Flushing updates for blocker='%s' ...", blocker) instances.update(blocker)