mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
d5806b1e28
commit
f9bbfdd8cd
|
@ -7413,7 +7413,9 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
"""
|
||||
mediaFilename = baseDir + urllib.parse.unquote_plus(path)
|
||||
print('showCachedFavicon: ' + mediaFilename)
|
||||
if os.path.isfile(mediaFilename):
|
||||
if not os.path.isfile(mediaFilename):
|
||||
self._404()
|
||||
return
|
||||
if self._etag_exists(mediaFilename):
|
||||
# The file has not changed
|
||||
self._304()
|
||||
|
|
Loading…
Reference in New Issue