Missing returns

main2
Bob Mottram 2019-10-14 22:29:46 +01:00
parent 85415f579f
commit ebed9f5202
1 changed files with 4 additions and 2 deletions

View File

@ -792,7 +792,8 @@ class PubServer(BaseHTTPRequestHandler):
mediaBinary = avFile.read()
self._set_headers('image/png',len(mediaBinary),cookie)
self.wfile.write(mediaBinary)
self.wfile.flush()
self.wfile.flush()
return
self._404()
return
# login screen background image
@ -817,7 +818,8 @@ class PubServer(BaseHTTPRequestHandler):
mediaBinary = avFile.read()
self._set_headers('image/png',len(mediaBinary),cookie)
self.wfile.write(mediaBinary)
self.wfile.flush()
self.wfile.flush()
return
self._404()
return
# emoji images