summaryrefslogtreecommitdiff
path: root/branding/scripts/provider.py
diff options
context:
space:
mode:
Diffstat (limited to 'branding/scripts/provider.py')
-rw-r--r--branding/scripts/provider.py8
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',