Too much 404 scope

main
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,13 +953,9 @@ 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
self._404()
return
# redirect music to #nowplaying list
if self.path=='/music' or self.path=='/nowplaying':