diff --git a/daemon.py b/daemon.py index 4dba9f72b..e5ccdb137 100644 --- a/daemon.py +++ b/daemon.py @@ -2173,7 +2173,12 @@ class PubServer(BaseHTTPRequestHandler): for fieldStr in fieldsList: if '=' not in fieldStr: continue - fields[fieldStr.split('=')[0]] = fieldStr.split('=')[1].strip() + fieldValue = fieldStr.split('=')[1].strip() + if fieldValue == 'on': + fieldValue = 'True' + if not fieldValue: + fieldValue = 'False' + fields[fieldStr.split('=')[0]] = fieldValue # get the parameters from the theme designer screen themeDesignerParams = {} diff --git a/webapp_themeDesigner.py b/webapp_themeDesigner.py index 6ab648bcf..5c3ac3797 100644 --- a/webapp_themeDesigner.py +++ b/webapp_themeDesigner.py @@ -232,6 +232,8 @@ def htmlThemeDesigner(cssCache: {}, baseDir: str, fontStr = '