remove debug

main
Bob Mottram 2021-12-05 21:19:10 +00:00
parent 97bf9bfac6
commit c97e27f58b
1 changed files with 0 additions and 5 deletions

View File

@ -2169,9 +2169,6 @@ class PubServer(BaseHTTPRequestHandler):
return
fields = {}
print('themeParams: ' + str(themeParams))
with open(baseDir + '/teststr.txt', 'w+') as fp:
fp.write(themeParams)
fieldsList = themeParams.split('&')
for fieldStr in fieldsList:
if '=' not in fieldStr:
@ -2179,8 +2176,6 @@ class PubServer(BaseHTTPRequestHandler):
fieldValue = fieldStr.split('=')[1].strip()
if fieldValue == 'on':
fieldValue = 'True'
elif fieldValue == 'off':
fieldValue = 'False'
if not fieldValue:
fieldValue = 'False'
fields[fieldStr.split('=')[0]] = fieldValue