diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-10-06 20:40:56 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-10-06 21:13:04 +0200 |
commit | 9980d38b1fbd72b6bfe2ab07fbdec6350c21e3ea (patch) | |
tree | bb586527859ab8c1a9f854b1b8e0db13e94eebb0 /branding/scripts | |
parent | 10c7e9ed157c0bc44424cab769be3f156bbc580a (diff) |
[bug] askForDonations is a bool now
Diffstat (limited to 'branding/scripts')
-rw-r--r-- | branding/scripts/provider.py | 2 |
1 files changed, 2 insertions, 0 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()) |