Get icon filename

main
Bob Mottram 2020-11-15 18:19:53 +00:00
parent 6c25df764f
commit b3805b4d71
1 changed files with 2 additions and 1 deletions

View File

@ -4840,6 +4840,7 @@ 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]