Scheduled post debug

main
Bob Mottram 2020-01-12 20:43:12 +00:00
parent a85072c5a0
commit 3dc276e0de
1 changed files with 1 additions and 3 deletions

View File

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