From 9980d38b1fbd72b6bfe2ab07fbdec6350c21e3ea Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Tue, 6 Oct 2020 20:40:56 +0200 Subject: [bug] askForDonations is a bool now --- branding/scripts/provider.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'branding/scripts') 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()) -- cgit v1.2.3