From de303d28bd6ea8c6b447ce63337b3a3d46101455 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 24 Nov 2019 18:11:32 +0000 Subject: [PATCH] Get icon binary from cache --- daemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon.py b/daemon.py index 590ba8c9..64d099a2 100644 --- a/daemon.py +++ b/daemon.py @@ -1316,6 +1316,7 @@ class PubServer(BaseHTTPRequestHandler): mediaFilename= \ self.server.baseDir+'/img/icons/'+mediaStr if self.server.iconsCache.get(mediaStr): + mediaBinary=self.server.iconsCache[mediaStr] self._set_headers('image/png',len(mediaBinary),cookie) self._write(mediaBinary) self.server.iconsCache[mediaStr]=mediaBinary