Return correct data type for provisioning relays
This commit is contained in:
parent
4c3bab6d96
commit
571a527f43
|
@ -82,7 +82,7 @@ def provisionRelay(num, network): # provision user and network data
|
|||
def provisionMultipleRelays(net, relaysNeeded):
|
||||
if not main.config["ChanKeep"]["Provision"]:
|
||||
warn(f"Asked to create {relaysNeeded} relays for {net}, but provisioning is disabled")
|
||||
return 0
|
||||
return []
|
||||
numsProvisioned = []
|
||||
for i in range(relaysNeeded):
|
||||
num, alias = main.network[net].add_relay()
|
||||
|
|
Loading…
Reference in New Issue