summaryrefslogtreecommitdiff
path: root/branding/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'branding/scripts')
-rw-r--r--branding/scripts/provider.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/branding/scripts/provider.py b/branding/scripts/provider.py
index 8904c37..22b36fd 100644
--- a/branding/scripts/provider.py
+++ b/branding/scripts/provider.py
@@ -25,10 +25,11 @@ def getProviderData(provider, config):
'providerURL', 'tosURL', 'helpURL',
'askForDonations', 'donateURL', 'apiURL',
'geolocationAPI', 'caCertString')
+ boolValues = ['askForDonations', 'authEmptyPass']
for value in keys:
d[value] = c.get(value)
- if value == 'askForDonations':
+ if value in boolValues:
d[value] = bool(d[value])
d['timeStamp'] = '{:%Y-%m-%d %H:%M:%S}'.format(