From 5c80887e2d3dba7011e27188ea4629cc32ca65a4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 24 Feb 2020 20:16:55 +0000 Subject: [PATCH] No busy state --- daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index 7889aacfc..8379b3ee9 100644 --- a/daemon.py +++ b/daemon.py @@ -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