From 8647bcf9e7c09ba97256171a6ddde34a018f9eb8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 29 May 2020 14:08:10 +0100 Subject: [PATCH] Remove debug --- daemon.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/daemon.py b/daemon.py index a7506958..a0be1ef8 100644 --- a/daemon.py +++ b/daemon.py @@ -1151,9 +1151,7 @@ class PubServer(BaseHTTPRequestHandler): # default favicon faviconFilename = \ self.server.baseDir + '/img/icons/favicon.ico' - print('favicon: ' + faviconFilename) if self._etag_exists(faviconFilename): - print('favicon etag exists') # The file has not changed self._304() return @@ -1164,11 +1162,9 @@ class PubServer(BaseHTTPRequestHandler): favBinary, cookie, callingDomain) self._write(favBinary) - print('favicon sent from cache') return else: if os.path.isfile(faviconFilename): - print('favicon image file exists') with open(faviconFilename, 'rb') as favFile: favBinary = favFile.read() self._set_headers_etag(faviconFilename, @@ -1177,7 +1173,6 @@ class PubServer(BaseHTTPRequestHandler): callingDomain) self._write(favBinary) self.server.iconsCache['favicon.ico'] = favBinary - print('favicon sent') return self._404() return