main
Bob Mottram 2020-07-03 22:07:20 +01:00
parent 434e5f1e8c
commit ce503c3d37
1 changed files with 1 additions and 3 deletions

View File

@ -7661,13 +7661,11 @@ class PubServer(BaseHTTPRequestHandler):
self.server.POSTbusy = False
return
if '&submitOnCalendar=' in optionsConfirmParams:
onCalendar = ''
onCalendar = None
if 'onCalendar=' in optionsConfirmParams:
onCalendar = optionsConfirmParams.split('onCalendar=')[1]
if '&' in onCalendar:
onCalendar = onCalendar.split('&')[0]
print('optionsConfirmParams: ' + optionsConfirmParams)
print('onCalendar: ' + onCalendar)
if onCalendar == 'on':
addPersonToCalendar(self.server.baseDir,
chooserNickname,