mirror of https://gitlab.com/bashrc2/epicyon
No busy state
parent
0bfba2a1f6
commit
5c80887e2d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue