diff options
author | kali <kali@leap.se> | 2020-10-13 19:24:11 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-10-23 23:21:56 +0200 |
commit | 93a0668a02b3a280919c4881db9085d5f2a912af (patch) | |
tree | 25145622bada4b4f6cb24c516b51677022c26d8f /branding/scripts/provider.py | |
parent | 163f14df408febb1fe92f4ddeffdfe933164b87f (diff) |
[pkg] osx fixes for installer build
Diffstat (limited to 'branding/scripts/provider.py')
-rw-r--r-- | branding/scripts/provider.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/branding/scripts/provider.py b/branding/scripts/provider.py index 9f6bb08..8904c37 100644 --- a/branding/scripts/provider.py +++ b/branding/scripts/provider.py @@ -15,10 +15,12 @@ def getDefaultProvider(config): def getProviderData(provider, config): print("[+] Configured provider:", provider) - - c = config[provider] + try: + c = config[provider] + except Exception: + raise ValueError('Cannot find provider') + d = dict() - keys = ('name', 'applicationName', 'binaryName', 'auth', 'authEmptyPass', 'providerURL', 'tosURL', 'helpURL', 'askForDonations', 'donateURL', 'apiURL', |