forked from indymedia/epicyon
Get icon filename
parent
6c25df764f
commit
b3805b4d71
|
@ -4840,9 +4840,10 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
mediaStr = path.split('/icons/')[1]
|
mediaStr = path.split('/icons/')[1]
|
||||||
if '/' not in mediaStr:
|
if '/' not in mediaStr:
|
||||||
theme = 'default'
|
theme = 'default'
|
||||||
|
iconFilename = mediaStr
|
||||||
else:
|
else:
|
||||||
theme = mediaStr.split('/')[0]
|
theme = mediaStr.split('/')[0]
|
||||||
iconFilename = mediaStr.split('/')[1]
|
iconFilename = mediaStr.split('/')[1]
|
||||||
mediaFilename = \
|
mediaFilename = \
|
||||||
baseDir + '/theme/' + theme + '/icons/' + iconFilename
|
baseDir + '/theme/' + theme + '/icons/' + iconFilename
|
||||||
if self._etag_exists(mediaFilename):
|
if self._etag_exists(mediaFilename):
|
||||||
|
|
Loading…
Reference in New Issue