Too much 404 scope

merge-requests/30/head
Bob Mottram 2020-02-24 20:24:57 +00:00
parent 5c80887e2d
commit f3a90b3210
1 changed files with 2 additions and 6 deletions

View File

@ -953,11 +953,7 @@ class PubServer(BaseHTTPRequestHandler):
msg=msg.encode() msg=msg.encode()
self._set_headers('text/html',len(msg),cookie) self._set_headers('text/html',len(msg),cookie)
self._write(msg) self._write(msg)
self.server.GETbusy=False
return return
else:
print("Test This isn't a blog post "+str(postJsonObject))
self.server.GETbusy=False
self._404() self._404()
return return