mirror of https://gitlab.com/bashrc2/epicyon
Use default theme for icons
parent
f18f358241
commit
6c25df764f
|
@ -4839,9 +4839,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if path.endswith('.png'):
|
if path.endswith('.png'):
|
||||||
mediaStr = path.split('/icons/')[1]
|
mediaStr = path.split('/icons/')[1]
|
||||||
if '/' not in mediaStr:
|
if '/' not in mediaStr:
|
||||||
self._404()
|
theme = 'default'
|
||||||
return
|
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
|
||||||
|
|
Loading…
Reference in New Issue