Return correct data type for provisioning relays

This commit is contained in:
Mark Veidemanis 2022-08-11 20:29:01 +01:00
parent 22e853a3f7
commit 7c9903bca2
1 changed files with 1 additions and 1 deletions

View File

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