From d78af3dec97204b8779bd14718c87915a93435b9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 25 Dec 2021 22:30:59 +0000 Subject: [PATCH] Snake case --- daemon.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/daemon.py b/daemon.py index 8dbd6b1f7..de9929223 100644 --- a/daemon.py +++ b/daemon.py @@ -7428,8 +7428,8 @@ class PubServer(BaseHTTPRequestHandler): favFile = path.replace('/favicons/', '') favFilename = base_dir + urllib.parse.unquote_plus(path) print('showCachedFavicon: ' + favFilename) - if self.server.faviconsCache.get(favFile): - mediaBinary = self.server.faviconsCache[favFile] + if self.server.favicons_cache.get(favFile): + mediaBinary = self.server.favicons_cache[favFile] mimeType = mediaFileMimeType(favFilename) self._set_headers_etag(favFilename, mimeType, @@ -7465,7 +7465,7 @@ class PubServer(BaseHTTPRequestHandler): fitnessPerformance(GETstartTime, self.server.fitness, '_GET', '_showCachedFavicon', self.server.debug) - self.server.faviconsCache[favFile] = mediaBinary + self.server.favicons_cache[favFile] = mediaBinary return self._404() @@ -18741,7 +18741,7 @@ def runDaemon(content_license_url: str, httpd.instance_id = instance_id httpd.person_cache = {} httpd.cached_webfingers = {} - httpd.faviconsCache = {} + httpd.favicons_cache = {} httpd.proxy_type = proxy_type httpd.session = None httpd.sessionLastUpdate = 0