From 7c9903bca2d07f3d7a788cfdd99604a66eaaffaa Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 11 Aug 2022 20:29:01 +0100 Subject: [PATCH] Return correct data type for provisioning relays --- modules/provision.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/provision.py b/modules/provision.py index b146699..01d371f 100644 --- a/modules/provision.py +++ b/modules/provision.py @@ -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()