summaryrefslogtreecommitdiff
path: root/branding/scripts
diff options
context:
space:
mode:
authorkali <kali@win>2020-10-15 22:03:54 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-10-23 23:22:57 +0200
commit015faa8fe70912da4faa1528c88c3ef6b9fcaabd (patch)
tree4f0086db3d4ab2242e171a08248529276a0e0422 /branding/scripts
parent46f84b7490e0427fc2ddd20238797d1d7523e278 (diff)
[pkg] windows vendoring fixes
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(