From f3a90b32103d53f38e60c68d62824bdaee39d284 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 24 Feb 2020 20:24:57 +0000 Subject: [PATCH] Too much 404 scope --- daemon.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/daemon.py b/daemon.py index 8379b3ee9..30ae8d849 100644 --- a/daemon.py +++ b/daemon.py @@ -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':