summaryrefslogtreecommitdiff
path: root/branding/scripts/getparam
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-11-23 20:43:12 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-11-23 21:51:28 +0100
commit28876566144cc74a32eb45f2fa4d966ebef8b0b2 (patch)
treeba662f984e685c53a46526b50d8fc560ce62fcc7 /branding/scripts/getparam
parentcdc80c3677753ad6eea8d864552077042bd9abb0 (diff)
[pkg] allow multi-provider
Diffstat (limited to 'branding/scripts/getparam')
-rwxr-xr-xbranding/scripts/getparam6
1 files changed, 3 insertions, 3 deletions
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]