]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 20 Apr 2025 23:16:51 +0000 (01:16 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 20 Apr 2025 23:16:51 +0000 (01:16 +0200)
- _relays is a private array

fba/helpers/software.py

index 6ac19d32ceab318908ca7aac61e6d1ec1248baae..33c03053759610acd9f2b26641d744ce8dc39cbb 100644 (file)
@@ -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