schedulePost is true or false

main
Bob Mottram 2020-01-12 20:35:39 +00:00
parent ab5d4fa19e
commit af61e15fc1
1 changed files with 4 additions and 1 deletions

View File

@ -3711,7 +3711,10 @@ class PubServer(BaseHTTPRequestHandler):
fields['replyTo']=None
if not fields.get('schedulePost'):
fields['schedulePost']=False
print('DEBUG: schedulePost='+str(fields['schedulePost']))
else:
fields['schedulePost']=False
if fields['schedulePost']=='on':
fields['schedulePost']=True
if not fields.get('eventDate'):
fields['eventDate']=None
if not fields.get('eventTime'):