mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
f54112a15c
commit
88cc541f59
|
@ -7299,7 +7299,9 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
baseDir: str, GETstartTime) -> None:
|
||||
"""Shows an icon
|
||||
"""
|
||||
if path.endswith('.png'):
|
||||
if not path.endswith('.png'):
|
||||
self._404()
|
||||
return
|
||||
mediaStr = path.split('/icons/')[1]
|
||||
if '/' not in mediaStr:
|
||||
if not self.server.themeName:
|
||||
|
|
Loading…
Reference in New Issue