From 28876566144cc74a32eb45f2fa4d966ebef8b0b2 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Tue, 23 Nov 2021 20:43:12 +0100 Subject: [pkg] allow multi-provider --- branding/scripts/getparam | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'branding/scripts/getparam') diff --git a/branding/scripts/getparam b/branding/scripts/getparam index 005abb1..100cb5d 100755 --- a/branding/scripts/getparam +++ b/branding/scripts/getparam @@ -8,7 +8,7 @@ import configparser import os import sys -from provider import getDefaultProvider +from provider import getDefaultProviders from provider import getProviderData def getData(): @@ -20,8 +20,8 @@ def getData(): sys.exit(1) config = configparser.ConfigParser() config.read(configPath) - defaultProvider = getDefaultProvider(config) - return getProviderData(getDefaultProvider(config), config) + defaultProvider = getDefaultProviders(config)[0] + return getProviderData(defaultProvider, config) if __name__ == "__main__": param = sys.argv[1] -- cgit v1.2.3