diff --git a/daemon.py b/daemon.py index ab2e2bf5..7f21d40f 100644 --- a/daemon.py +++ b/daemon.py @@ -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'):