return after sending 404

This commit is contained in:
Jakob Ketterl 2020-05-02 16:59:27 +02:00
parent 1bfe768601
commit 0868e643c9

View File

@ -89,6 +89,7 @@ class CompiledAssetsController(Controller):
profileName = self.request.matches.group(1) profileName = self.request.matches.group(1)
if profileName not in CompiledAssetsController.profiles: if profileName not in CompiledAssetsController.profiles:
self.send_response("profile not found", code=404) self.send_response("profile not found", code=404)
return
files = CompiledAssetsController.profiles[profileName] files = CompiledAssetsController.profiles[profileName]
logger.debug(files) logger.debug(files)