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 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,