Don't add 1 to current relays when iterating

This commit is contained in:
Mark Veidemanis 2022-08-11 20:13:30 +01:00
parent 8cd22888b7
commit ea81fc80e3
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

View File

@ -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)