mirror of https://gitlab.com/bashrc2/epicyon
Don't keep storing icons
parent
de303d28bd
commit
a9b8d8014e
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue