No busy state

main
Bob Mottram 2020-02-24 20:16:55 +00:00
parent 0bfba2a1f6
commit 5c80887e2d
1 changed files with 2 additions and 2 deletions

View File

@ -940,8 +940,6 @@ class PubServer(BaseHTTPRequestHandler):
self.server.domain, \
self.server.domainFull, \
self.path)
print('Test blogFilename='+str(blogFilename))
print('Test nickname='+str(blogFilename))
if blogFilename and nickname:
postJsonObject=loadJson(blogFilename)
if isBlogPost(postJsonObject):
@ -955,9 +953,11 @@ class PubServer(BaseHTTPRequestHandler):
msg=msg.encode()
self._set_headers('text/html',len(msg),cookie)
self._write(msg)
self.server.GETbusy=False
return
else:
print("Test This isn't a blog post "+str(postJsonObject))
self.server.GETbusy=False
self._404()
return