diff --git a/project/main.py b/project/main.py index 329f1732..34cd4f6e 100644 --- a/project/main.py +++ b/project/main.py @@ -172,6 +172,7 @@ def page_not_found(e): if not os.path.exists(yaml_file): app.logger.info("{} not found".format(yaml_file)) sys.exit(1) + # TODO: When the file does not exist, a 404 should be generated when the custom_rule function is executed. else: app.logger.info("{} file check ok".format(yaml_file)) with open(yaml_file, "r") as yaml_file: