From 690b40eea063dca352807e1140f7c213e32453b3 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 15 Nov 2019 11:26:41 +0000 Subject: [PATCH] Tidying --- daemon.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/daemon.py b/daemon.py index 4fe8fc75..7e235550 100644 --- a/daemon.py +++ b/daemon.py @@ -902,10 +902,8 @@ class PubServer(BaseHTTPRequestHandler): pageNumber,donateUrl).encode() self._set_headers('text/html',len(msg),cookie) self._write(msg) - #self.server.GETbusy=False return self._redirect_headers(originPathStr,cookie) - #self.server.GETbusy=False return # remove a shared item @@ -920,11 +918,9 @@ class PubServer(BaseHTTPRequestHandler): actor,shareName).encode() if not msg: self._redirect_headers(actor+'/inbox',cookie) - #self.server.GETbusy=False return self._set_headers('text/html',len(msg),cookie) self._write(msg) - #self.server.GETbusy=False return if self.path.startswith('/terms'): @@ -933,7 +929,6 @@ class PubServer(BaseHTTPRequestHandler): self.server.domainFull).encode() self._login_headers('text/html',len(msg)) self._write(msg) - #self.server.GETbusy=False return if self.path.startswith('/about'): @@ -942,12 +937,10 @@ class PubServer(BaseHTTPRequestHandler): self.server.domainFull).encode() self._login_headers('text/html',len(msg)) self._write(msg) - #self.server.GETbusy=False return # send robots.txt if asked if self._robotsTxt(): - #self.server.GETbusy=False return # if not authorized then show the login screen @@ -981,7 +974,6 @@ class PubServer(BaseHTTPRequestHandler): self.send_header('Content-Length', '0') self.send_header('X-Robots-Tag','noindex') self.end_headers() - #self.server.GETbusy=False return # get css