From 607c0aa40e097b4e652f8f3c502945200ece2c7f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 16 Apr 2020 12:49:17 +0100 Subject: [PATCH] Tidying --- daemon.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/daemon.py b/daemon.py index 8aef7f635..f32bfc55b 100644 --- a/daemon.py +++ b/daemon.py @@ -5154,8 +5154,7 @@ class PubServer(BaseHTTPRequestHandler): self.end_headers() self.server.POSTbusy = False return - self.send_response(200) - self.end_headers() + self._200() self.server.POSTbusy = False return @@ -6938,8 +6937,7 @@ class PubServer(BaseHTTPRequestHandler): self._updateInboxQueue('inbox', messageJson, messageBytes) if queueStatus >= 0 and queueStatus <= 2: return - self.send_response(200) - self.end_headers() + self._200() self.server.POSTbusy = False