mirror of https://gitlab.com/bashrc2/epicyon
remove debug
parent
97bf9bfac6
commit
c97e27f58b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue