Don't keep storing icons

main
Bob Mottram 2019-11-24 20:49:00 +00:00
parent de303d28bd
commit a9b8d8014e
1 changed files with 0 additions and 1 deletions

View File

@ -1319,7 +1319,6 @@ class PubServer(BaseHTTPRequestHandler):
mediaBinary=self.server.iconsCache[mediaStr] mediaBinary=self.server.iconsCache[mediaStr]
self._set_headers('image/png',len(mediaBinary),cookie) self._set_headers('image/png',len(mediaBinary),cookie)
self._write(mediaBinary) self._write(mediaBinary)
self.server.iconsCache[mediaStr]=mediaBinary
return return
else: else:
if os.path.isfile(mediaFilename): if os.path.isfile(mediaFilename):