main
Bob Mottram 2020-07-03 21:58:38 +01:00
parent dbd21902fa
commit 434e5f1e8c
1 changed files with 6 additions and 3 deletions

View File

@ -7661,9 +7661,12 @@ class PubServer(BaseHTTPRequestHandler):
self.server.POSTbusy = False
return
if '&submitOnCalendar=' in optionsConfirmParams:
onCalendar = ''
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,