From: Roland Häder Date: Sun, 20 Apr 2025 23:16:51 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=89964c89fef0e0f664d87bc335a19956d825fa84;p=fba.git Continued: - _relays is a private array --- diff --git a/fba/helpers/software.py b/fba/helpers/software.py index 6ac19d3..33c0305 100644 --- a/fba/helpers/software.py +++ b/fba/helpers/software.py @@ -22,7 +22,7 @@ from fba.helpers import tidyup from fba.helpers import version # A list of relay software -relays = [ +_relays = [ "activityrelay", "aoderelay", "selective-relay", @@ -302,7 +302,7 @@ def is_relay(software: str) -> bool: elif software == "": raise ValueError("Parameter 'software' is empty") - found = software in relays + found = software in _relays logger.debug("found='%s' - EXIT!", found) return found