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

@ -793,6 +793,7 @@ class PubServer(BaseHTTPRequestHandler):
self._set_headers('image/png',len(mediaBinary),cookie)
self.wfile.write(mediaBinary)
self.wfile.flush()
return
self._404()
return
# login screen background image
@ -818,6 +819,7 @@ class PubServer(BaseHTTPRequestHandler):
self._set_headers('image/png',len(mediaBinary),cookie)
self.wfile.write(mediaBinary)
self.wfile.flush()
return
self._404()
return
# emoji images