Don't add 1 to current relays when iterating
This commit is contained in:
parent
cc0e3b872b
commit
87ee96dd26
|
@ -20,7 +20,7 @@ def allRelaysActive(net):
|
|||
"""
|
||||
activeRelays = getActiveRelays(net)
|
||||
debug(f"allRelaysActive() active relays for {net}: {activeRelays}")
|
||||
relayNum = len(activeRelays) + 1
|
||||
relayNum = len(activeRelays)
|
||||
existNum = 0
|
||||
for i in activeRelays:
|
||||
name = net + str(i)
|
||||
|
|
Loading…
Reference in New Issue