forked from indymedia/epicyon
Get icon binary from cache
parent
5a63454d1b
commit
de303d28bd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue