mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
434e5f1e8c
commit
ce503c3d37
|
@ -7661,13 +7661,11 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.POSTbusy = False
|
self.server.POSTbusy = False
|
||||||
return
|
return
|
||||||
if '&submitOnCalendar=' in optionsConfirmParams:
|
if '&submitOnCalendar=' in optionsConfirmParams:
|
||||||
onCalendar = ''
|
onCalendar = None
|
||||||
if 'onCalendar=' in optionsConfirmParams:
|
if 'onCalendar=' in optionsConfirmParams:
|
||||||
onCalendar = optionsConfirmParams.split('onCalendar=')[1]
|
onCalendar = optionsConfirmParams.split('onCalendar=')[1]
|
||||||
if '&' in onCalendar:
|
if '&' in onCalendar:
|
||||||
onCalendar = onCalendar.split('&')[0]
|
onCalendar = onCalendar.split('&')[0]
|
||||||
print('optionsConfirmParams: ' + optionsConfirmParams)
|
|
||||||
print('onCalendar: ' + onCalendar)
|
|
||||||
if onCalendar == 'on':
|
if onCalendar == 'on':
|
||||||
addPersonToCalendar(self.server.baseDir,
|
addPersonToCalendar(self.server.baseDir,
|
||||||
chooserNickname,
|
chooserNickname,
|
||||||
|
|
Loading…
Reference in New Issue