summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-10-06 20:40:56 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-10-06 21:13:04 +0200
commit9980d38b1fbd72b6bfe2ab07fbdec6350c21e3ea (patch)
treebb586527859ab8c1a9f854b1b8e0db13e94eebb0
parent10c7e9ed157c0bc44424cab769be3f156bbc580a (diff)
[bug] askForDonations is a bool now
-rw-r--r--branding/scripts/provider.py2
-rw-r--r--gui/providers/providers.json2
2 files changed, 3 insertions, 1 deletions
diff --git a/branding/scripts/provider.py b/branding/scripts/provider.py
index ffee1b3..619382b 100644
--- a/branding/scripts/provider.py
+++ b/branding/scripts/provider.py
@@ -25,6 +25,8 @@ def getProviderData(provider, config):
for value in keys:
d[value] = c.get(value)
+ if value == 'askForDonations':
+ d[value] = bool(d[value])
d['timeStamp'] = '{:%Y-%m-%d %H:%M:%S}'.format(
datetime.datetime.now())
diff --git a/gui/providers/providers.json b/gui/providers/providers.json
index e0c2d82..848a0f0 100644
--- a/gui/providers/providers.json
+++ b/gui/providers/providers.json
@@ -15,7 +15,7 @@
"apiURL": "https://api.black.riseup.net/",
"geolocationAPI": "https://api.black.riseup.net:9001/json",
"caCertString": "-----BEGIN CERTIFICATE-----\nMIIFjTCCA3WgAwIBAgIBATANBgkqhkiG9w0BAQ0FADBZMRgwFgYDVQQKDA9SaXNl\ndXAgTmV0d29ya3MxGzAZBgNVBAsMEmh0dHBzOi8vcmlzZXVwLm5ldDEgMB4GA1UE\nAwwXUmlzZXVwIE5ldHdvcmtzIFJvb3QgQ0EwHhcNMTQwNDI4MDAwMDAwWhcNMjQw\nNDI4MDAwMDAwWjBZMRgwFgYDVQQKDA9SaXNldXAgTmV0d29ya3MxGzAZBgNVBAsM\nEmh0dHBzOi8vcmlzZXVwLm5ldDEgMB4GA1UEAwwXUmlzZXVwIE5ldHdvcmtzIFJv\nb3QgQ0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAw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